aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r--test/CodeGen/struct.c5
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