зеркало из https://github.com/microsoft/clang-1.git
35 строки
478 B
C
35 строки
478 B
C
// RUN: clang -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) {
|
|
}
|