]> granicus.if.org Git - clang/blob - test/CodeGen/types.c
Finish off the refactoring of type handling stuff. Now we recompile every
[clang] / test / CodeGen / types.c
1 // RUN: clang -emit-llvm <%s
2
3 struct FileName {
4     struct FileName *next;
5 } *fnhead;
6
7
8 struct ieeeExternal {
9     struct ieeeExternal *next;
10 } *exthead;
11
12
13 void test1()
14 {
15     struct ieeeExternal *exttmp = exthead;
16 }
17
18 struct MpegEncContext;
19 typedef struct MpegEncContext {int pb;} MpegEncContext;
20 static void test2(void) {MpegEncContext s; s.pb;}
21