diff options
| author | Mike Stump <mrs@apple.com> | 2009-07-25 21:26:53 +0000 |
|---|---|---|
| committer | Mike Stump <mrs@apple.com> | 2009-07-25 21:26:53 +0000 |
| commit | 8c5d7996e840a1de43689c415863d319ace59f97 (patch) | |
| tree | 99bf94ebfc72c0e70f5d2ceb7bcb245ac1b77b5e /clang/test/CodeGen/array.c | |
| parent | 4b1f2f4779142e996b321b1e0435629ca37de7fd (diff) | |
Add noreturn as a type attribute, handle printing for them and handle
calls to noreturn function pointers when CFG building.
llvm-svn: 77089
Diffstat (limited to 'clang/test/CodeGen/array.c')
| -rw-r--r-- | clang/test/CodeGen/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/array.c b/clang/test/CodeGen/array.c index 5bcc26ecf38b..294dabfbbb5d 100644 --- a/clang/test/CodeGen/array.c +++ b/clang/test/CodeGen/array.c @@ -1,11 +1,11 @@ // RUN: clang-cc -emit-llvm %s -o %t -int f() { +void f() { int a[2]; a[0] = 0; } -int f2() { +void f2() { int x = 0; int y = 1; int a[10] = { y, x, 2, 3}; |
