commit | fd350b5b4ae557d6b74899b945e77508f33149a9 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Mon Jul 27 21:33:40 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Mon Jul 27 21:33:40 2009 +0000 |
tree | e34bd5bf39f31802c69d9fcde2887e2833954c47 | |
parent | bc0a2226c7fcd18b29b6846049e2cfcb872d3593 [diff] [blame] |
Add builtin knowledge about longjmp being noreturn. Add printing for the noreturn attribute. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77253 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/return.c b/test/Sema/return.c index 99568b0..f439ad7 100644 --- a/test/Sema/return.c +++ b/test/Sema/return.c
@@ -196,3 +196,9 @@ int test29() { exit(1); } + +#include <setjmp.h> +jmp_buf test30_j; +int test30() { + longjmp(test30_j, 1); +}