diff options
author | Seo Sanghyeon <sanxiyn@gmail.com> | 2007-12-14 02:04:12 +0000 |
---|---|---|
committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2007-12-14 02:04:12 +0000 |
commit | 9b73b39f6fbf987acbbe6570d557d13f07c7e0f7 (patch) | |
tree | 790df41300db0706ca8b250d758253ea1c3dba3e /test/CodeGen/struct.c | |
parent | 7777bb263f215c5251bd354ed82ff1dbe9153336 (diff) |
Array subscription in aggregate expression
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r-- | test/CodeGen/struct.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 34cbec570a..a52e538a7f 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c @@ -94,6 +94,11 @@ void f9(range *p) range r = *p; } +void f10(range *p) +{ + range r = p[0]; +} + /* _Bool types */ struct _w |