test case for r105504.
authorDevang Patel <dpatel@apple.com>
Fri, 4 Jun 2010 23:47:41 +0000 (23:47 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 4 Jun 2010 23:47:41 +0000 (23:47 +0000)
Radar 8055687.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105505 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendObjC/2010-06-04-UnnamedCFString-dbg.m [new file with mode: 0644]

diff --git a/test/FrontendObjC/2010-06-04-UnnamedCFString-dbg.m b/test/FrontendObjC/2010-06-04-UnnamedCFString-dbg.m
new file mode 100644 (file)
index 0000000..bded9ea
--- /dev/null
@@ -0,0 +1,6 @@
+// RUN: %llvmgcc -S -O0 -g %s -o - | grep DW_TAG_variable | count 1
+
+// Do not emit debug info for unnamed builtin CFString variable.
+@interface Foo
+@end
+Foo *FooName = @"FooBar";