OSDN Git Service

Test case for llvm-gcc rev. 64648.
authorDevang Patel <dpatel@apple.com>
Mon, 16 Feb 2009 19:24:29 +0000 (19:24 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 16 Feb 2009 19:24:29 +0000 (19:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64649 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp [new file with mode: 0644]

diff --git a/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp b/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
new file mode 100644 (file)
index 0000000..56508b7
--- /dev/null
@@ -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;
+