diff --git a/test/FrontendObjC/2010-06-04-UnnamedCFString-dbg.m b/test/FrontendObjC/2010-06-04-UnnamedCFString-dbg.m new file mode 100644 index 00000000000..bded9ea2a40 --- /dev/null +++ b/test/FrontendObjC/2010-06-04-UnnamedCFString-dbg.m @@ -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";