• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  // RUN: %clang_cc1 -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  
test1()13  void test1()
14  {
15      struct ieeeExternal *exttmp = exthead;
16  }
17  
18  struct MpegEncContext;
19  typedef struct MpegEncContext {int pb;} MpegEncContext;
test2(void)20  static void test2(void) {MpegEncContext s; s.pb;}
21  
22  
23  struct Village;
24  
25  struct List {
26    struct Village *v;
27  };
28  
29  struct Village {
30    struct List returned;
31  };
32  
test3(struct List a)33  void test3(struct List a) {
34  }
35