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 00000000000..56508b7c5af --- /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; +