summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/ivar-layout-64-bitfields.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/ivar-layout-64-bitfields.m')
-rw-r--r--test/CodeGenObjC/ivar-layout-64-bitfields.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGenObjC/ivar-layout-64-bitfields.m b/test/CodeGenObjC/ivar-layout-64-bitfields.m
index 9710e16..700ce18 100644
--- a/test/CodeGenObjC/ivar-layout-64-bitfields.m
+++ b/test/CodeGenObjC/ivar-layout-64-bitfields.m
@@ -1,5 +1,10 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s
+
+#ifdef __cplusplus
+typedef bool _Bool;
+#endif
+
@interface I
{
struct {
OpenPOWER on IntegriCloud