diff options
Diffstat (limited to 'test/FrontendC++')
-rw-r--r-- | test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp | 5 |
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 0000000..56508b7 --- /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; + |