Home | History | Annotate | Download | only in CodeGen
      1 /* RUN: %clang_cc1  %s -emit-llvm -o - | FileCheck %s
      2  *
      3  * __builtin_longjmp/setjmp should get transformed into intrinsics.
      4  */
      5 
      6 // CHECK-NOT: builtin_longjmp
      7 
      8 void jumpaway(int *ptr) {
      9   __builtin_longjmp(ptr,1);
     10 }
     11 
     12 int main(void) {
     13   __builtin_setjmp(0);
     14   jumpaway(0);
     15 }
     16