diff options
Diffstat (limited to 'clang/test/CodeGen/struct.c')
| -rw-r--r-- | clang/test/CodeGen/struct.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/CodeGen/struct.c b/clang/test/CodeGen/struct.c index 443fc33ccb3..83ac4d21951 100644 --- a/clang/test/CodeGen/struct.c +++ b/clang/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(); +} + + |

