summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/debug-info-crash.m
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-25 03:34:56 +0000
committerChris Lattner <sabre@nondot.org>2010-01-25 03:34:56 +0000
commit83b0dd16c38975a04b95018ee74bbcdb4f21c27b (patch)
treee4c0d72ad353ebd7aff3793f600023de89fe3401 /clang/test/CodeGenObjC/debug-info-crash.m
parentbf78478d35b51cc924afd74f650ac8ba99f2ba78 (diff)
downloadbcm5719-llvm-83b0dd16c38975a04b95018ee74bbcdb4f21c27b.tar.gz
bcm5719-llvm-83b0dd16c38975a04b95018ee74bbcdb4f21c27b.zip
fix rdar://7556129 a crash in blocks debug info codegen.
llvm-svn: 94402
Diffstat (limited to 'clang/test/CodeGenObjC/debug-info-crash.m')
-rw-r--r--clang/test/CodeGenObjC/debug-info-crash.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/debug-info-crash.m b/clang/test/CodeGenObjC/debug-info-crash.m
new file mode 100644
index 00000000000..011935c7674
--- /dev/null
+++ b/clang/test/CodeGenObjC/debug-info-crash.m
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -triple i386-apple-darwin10 -fblocks -g -S %s -o -
+
+// rdar://7556129
+@implementation test
+- (void)wait {
+ ^{};
+}
+@end
+
OpenPOWER on IntegriCloud