summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/bool_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGen/bool_test.c')
-rw-r--r--clang/test/CodeGen/bool_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGen/bool_test.c b/clang/test/CodeGen/bool_test.c
new file mode 100644
index 0000000..ffaaef8
--- /dev/null
+++ b/clang/test/CodeGen/bool_test.c
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck -check-prefix=DARWINPPC-CHECK %s
+
+int boolsize = sizeof(_Bool);
+//DARWINPPC-CHECK: boolsize = global i32 4, align 4
+