llvm-6502/test/FrontendC++/2009-02-16-AnonTypedef-Dbg.cpp
Devang Patel 50369517b7 Test case for llvm-gcc rev. 64648.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64649 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-16 19:24:29 +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;