[llvm-commits] [llvm] r64649 - /llvm/trunk/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
Devang Patel
dpatel at apple.com
Mon Feb 16 11:24:30 PST 2009
Author: dpatel
Date: Mon Feb 16 13:24:29 2009
New Revision: 64649
URL: http://llvm.org/viewvc/llvm-project?rev=64649&view=rev
Log:
Test case for llvm-gcc rev. 64648.
Added:
llvm/trunk/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
Added: llvm/trunk/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC%2B%2B/2009-02-16-AnonTypedef-Dbg.cpp?rev=64649&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp (added)
+++ llvm/trunk/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp Mon Feb 16 13:24:29 2009
@@ -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;
+
More information about the llvm-commits
mailing list