aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-02-16 19:24:29 +0000
committerDevang Patel <dpatel@apple.com>2009-02-16 19:24:29 +0000
commit50369517b7ef739a8d83ece3d33ab3302de879f8 (patch)
tree07861b9c2ddcf06c2035fbd29b54b8421b7558c6 /test/FrontendC++
parent586a7c4a3723142fddb4011d417584c2f0e50d37 (diff)
Test case for llvm-gcc rev. 64648.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++')
-rw-r--r--test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp b/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
new file mode 100644
index 0000000000..56508b7c5a
--- /dev/null
+++ b/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
@@ -0,0 +1,5 @@
+// Test on debug info to make sure that anon typedef info is emitted.
+// RUN: %llvmgcc -S --emit-llvm -x c++ -g %s -o - | grep composite
+typedef struct { int a; long b; } foo;
+foo x;
+