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