diff options
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r-- | test/CodeGen/struct.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 443fc33ccb..83ac4d2195 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c @@ -63,3 +63,17 @@ void f4() { void f5() { (f3())->d1 = 42; } + +/* Function calls */ +typedef struct { + int location; + int length; +} range; + +extern range f6(); +void f7() +{ + range r = f6(); +} + + |