diff options
Diffstat (limited to 'test/CodeGen/types.c')
-rw-r--r-- | test/CodeGen/types.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/types.c b/test/CodeGen/types.c index 2bbcec106a..c542a758b8 100644 --- a/test/CodeGen/types.c +++ b/test/CodeGen/types.c @@ -19,3 +19,16 @@ 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) { +} |