diff options
Diffstat (limited to 'clang/test/CodeGen/bool-init.c')
-rw-r--r-- | clang/test/CodeGen/bool-init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/bool-init.c b/clang/test/CodeGen/bool-init.c new file mode 100644 index 0000000..1a8f127 --- /dev/null +++ b/clang/test/CodeGen/bool-init.c @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1 + +// Check that the type of this global isn't i1 +_Bool test = &test; |