[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / types.c
bloba43e452dfe8dc0f1798677bafe4691bd604f111f
1 // RUN: %clang_cc1 -emit-llvm <%s
3 struct FileName {
4 struct FileName *next;
5 } *fnhead;
8 struct ieeeExternal {
9 struct ieeeExternal *next;
10 } *exthead;
13 void test1(void)
15 struct ieeeExternal *exttmp = exthead;
18 struct MpegEncContext;
19 typedef struct MpegEncContext {int pb;} MpegEncContext;
20 static void test2(void) {MpegEncContext s; s.pb;}
23 struct Village;
25 struct List {
26 struct Village *v;
29 struct Village {
30 struct List returned;
33 void test3(struct List a) {