summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/debug-info-crash-2.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CodeGenObjC/debug-info-crash-2.m')
-rw-r--r--clang/test/CodeGenObjC/debug-info-crash-2.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-crash-2.m b/clang/test/CodeGenObjC/debug-info-crash-2.m
new file mode 100644
index 0000000..a2acd9d
--- /dev/null
+++ b/clang/test/CodeGenObjC/debug-info-crash-2.m
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -g -S %s -o -
+@class Bar;
+@interface Foo
+@property (strong, nonatomic) Bar *window;
+@end
+
+@interface Foo__ : Foo
+@end
+@implementation Foo__
+@end
+
+@implementation Foo
+@synthesize window = _window;
+@end
+