diff options
Diffstat (limited to 'clang/test/CodeGen/const-init.c')
-rw-r--r-- | clang/test/CodeGen/const-init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c index e3f110d64ed..ccc34cf1368 100644 --- a/clang/test/CodeGen/const-init.c +++ b/clang/test/CodeGen/const-init.c @@ -1,4 +1,4 @@ -// RUN: clang -emit-llvm %s +// RUN: clang -emit-llvm %s 2>&1 | not grep warning #include <stdint.h> @@ -11,3 +11,5 @@ intptr_t b = a; int c(); void *d = c; intptr_t e = c; + +int f, *g = __extension__ &f, *h = (1 != 1) ? &f : &f; |