1*1aa71f86SPeter S. Housel // RUN: %clangxx -fPIC -emit-llvm -c -o %t %s
2*1aa71f86SPeter S. Housel // RUN: %lli_orc_jitlink -relocation-model=pic %t | FileCheck %s
3*1aa71f86SPeter S. Housel 
4*1aa71f86SPeter S. Housel // CHECK: catch
5*1aa71f86SPeter S. Housel 
6*1aa71f86SPeter S. Housel #include <stdio.h>
7*1aa71f86SPeter S. Housel 
main(int argc,char * argv[])8*1aa71f86SPeter S. Housel int main(int argc, char *argv[]) {
9*1aa71f86SPeter S. Housel   try {
10*1aa71f86SPeter S. Housel     throw 0;
11*1aa71f86SPeter S. Housel   } catch (int X) {
12*1aa71f86SPeter S. Housel     puts("catch");
13*1aa71f86SPeter S. Housel   }
14*1aa71f86SPeter S. Housel   return 0;
15*1aa71f86SPeter S. Housel }
16