Merge branch 'master' into msp430
[llvm/msp430.git] / test / FrontendC / 2003-08-06-BuiltinSetjmpLongjmp.c
blob39412e5f84ee4d03ec5ced1d46ac795eaa5d28c4
1 /* RUN: %llvmgcc -xc %s -c -o - | llvm-dis | not grep __builtin_
3 * __builtin_longjmp/setjmp should get transformed into llvm.setjmp/longjmp
4 * just like explicit setjmp/longjmp calls are.
5 */
7 void jumpaway(int *ptr) {
8 __builtin_longjmp(ptr,1);
11 int main(void) {
12 __builtin_setjmp(0);
13 jumpaway(0);