Sign in
cobalt
/
cobalt
/
HEAD
/
.
/
third_party
/
llvm-project
/
compiler-rt
/
test
/
orc
/
TestCases
/
Darwin
/
x86-64
/
lljit-ehframe.cpp
blob: b73ec2387028ed3a3f6ec80cb41460fc543db1f9 [
file
] [
log
] [
blame
]
// RUN: %clangxx -fPIC -emit-llvm -c -o %t %s
// RUN: %lli_orc_jitlink -relocation-model=pic %t | FileCheck %s
// CHECK: catch
#include
<stdio.h>
int
main
(
int
argc
,
char
*
argv
[])
{
try
{
throw
0
;
}
catch
(
int
X
)
{
puts
(
"catch"
);
}
return
0
;
}