freebsd-dev/test/CodeGen/types.c

35 lines
481 B
C
Raw Normal View History

2009-06-02 17:58:47 +00:00
// RUN: clang-cc -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) {
}