aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct.c
diff options
context:
space:
mode:
authorSeo Sanghyeon <sanxiyn@gmail.com>2007-12-14 01:09:11 +0000
committerSeo Sanghyeon <sanxiyn@gmail.com>2007-12-14 01:09:11 +0000
commit7777bb263f215c5251bd354ed82ff1dbe9153336 (patch)
treeb6213a784588387cc82a11259f32a32a7f2259ec /test/CodeGen/struct.c
parenta651e0e9e0edb0c551763790e00d855681380875 (diff)
Implement dereference operator in aggregate expression
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r--test/CodeGen/struct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index 574cec908c..34cbec570a 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -89,6 +89,10 @@ void f8()
range r = p.range1;
}
+void f9(range *p)
+{
+ range r = *p;
+}
/* _Bool types */