llvm-capstone/clang/test/PCH/multiple_decls.h
Douglas Gregor ba6e557378 Fix two embarrassing PCH bugs:
1) Accidentally used delete [] on an array of statements that was allocated with ASTContext's allocator
  2) Deserialization of names with multiple declarations (e.g., a struct and a function) used the wrong mangling constant, causing it to view declaration IDs as Decl*s.

403.gcc builds and links properly.

llvm-svn: 69390
2009-04-17 21:46:47 +00:00

8 lines
136 B
C

// Header for PCH test multiple_decls.c
struct wide { int value; };
int wide(char);
struct narrow { char narrow; };
char narrow(int);