summaryrefslogtreecommitdiff
path: root/test/FrontendObjC
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendObjC')
-rw-r--r--test/FrontendObjC/2009-04-14-AsmSection.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/FrontendObjC/2009-04-14-AsmSection.m b/test/FrontendObjC/2009-04-14-AsmSection.m
new file mode 100644
index 0000000000..0e3c95d34d
--- /dev/null
+++ b/test/FrontendObjC/2009-04-14-AsmSection.m
@@ -0,0 +1,8 @@
+// RUN: %llvmgcc -S %s -fobjc-abi-version=2 -emit-llvm -o - | grep {OBJC_CLASS_\$_A.*section.*__DATA, __objc_data}
+// XTARGETS: darwin
+
+@interface A
+@end
+
+@implementation A
+@end