mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 09:18:30 +00:00
14 lines
198 B
LLVM
14 lines
198 B
LLVM
|
|
||
|
implementation
|
||
|
|
||
|
declare void %bar()
|
||
|
|
||
|
int %foo() { ;; Calling this function has undefined behavior
|
||
|
unreachable
|
||
|
}
|
||
|
|
||
|
double %xyz() {
|
||
|
call void %bar()
|
||
|
unreachable ;; Bar must not return.
|
||
|
}
|