blob: 4a47f6615cdfebc2a6ab322f3a93154c8cc0db86 [file] [log] [blame]
Daniel Dunbar536e4ae2008-11-08 04:42:29 +00001// RUN: clang -o %t --emit-llvm -g %s
2
Chris Lattnerffcd9192008-11-11 06:27:34 +00003// PR3023
Daniel Dunbar536e4ae2008-11-08 04:42:29 +00004void convert(void) {
5 struct { typeof(0) f0; } v0;
6}
Chris Lattnerad6f1362008-11-11 06:42:53 +00007
8// PR2784
9struct OPAQUE;
10typedef struct OPAQUE *PTR;
11PTR p;
12
13
14// PR2950
15struct s0;
16struct s0 { struct s0 *p; } g0;
17
18struct s0 *f0(struct s0 *a0) {
19 return a0->p;
20}
21
22