llvm-6502/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
2009-08-26 05:01:18 +00:00

6 lines
184 B
C++

// 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;