minix/external/bsd/llvm/dist/clang/test/CodeGen/types.c
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

34 lines
483 B
C

// RUN: %clang_cc1 -emit-llvm <%s
struct FileName {
struct FileName *next;
} *fnhead;
struct ieeeExternal {
struct ieeeExternal *next;
} *exthead;
void test1()
{
struct ieeeExternal *exttmp = exthead;
}
struct MpegEncContext;
typedef struct MpegEncContext {int pb;} MpegEncContext;
static void test2(void) {MpegEncContext s; s.pb;}
struct Village;
struct List {
struct Village *v;
};
struct Village {
struct List returned;
};
void test3(struct List a) {
}