diff --git a/test/CodeGen/2003-08-06-BuiltinSetjmpLongjmp.c b/test/CodeGen/2003-08-06-BuiltinSetjmpLongjmp.c index 12bce268cfac9c9ca2ba05f9ff8d91ce51ab41ad..3aa5c003973f4629f89c20b5dc188375ec281d76 100644 --- a/test/CodeGen/2003-08-06-BuiltinSetjmpLongjmp.c +++ b/test/CodeGen/2003-08-06-BuiltinSetjmpLongjmp.c @@ -1,9 +1,10 @@ -/* RUN: %clang_cc1 %s -emit-llvm -o - | not grep __builtin_ +/* RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s * - * __builtin_longjmp/setjmp should get transformed into llvm.setjmp/longjmp - * just like explicit setjmp/longjmp calls are. + * __builtin_longjmp/setjmp should get transformed into intrinsics. */ +// CHECK-NOT: builtin_longjmp + void jumpaway(int *ptr) { __builtin_longjmp(ptr,1); }