commit | 0feecbb3165b06ff34663a8c233316aaf7f84ce1 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Mon Jul 27 19:14:18 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Mon Jul 27 19:14:18 2009 +0000 |
tree | 9dee9a2a229297dcf02f59271dff4ceadd93cb2d | |
parent | aecae629269fae3bf484baf1d109e9a89d14eead [diff] [blame] |
Add noreturn for exit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77237 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/return.c b/test/Sema/return.c index 9234e3e..99568b0 100644 --- a/test/Sema/return.c +++ b/test/Sema/return.c
@@ -191,3 +191,8 @@ // PR4624 void test28() __attribute__((noreturn)); void test28(x) { while (1) { } } + +void exit(int); +int test29() { + exit(1); +}