aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/array-struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r--test/Analysis/array-struct.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c
index b95f3547a3..ec4e154a55 100644
--- a/test/Analysis/array-struct.c
+++ b/test/Analysis/array-struct.c
@@ -44,3 +44,9 @@ void f5() {
struct s data;
g1(&data);
}
+
+void f6() {
+ char *p;
+ p = __builtin_alloca(10);
+ p[1] = 'a';
+}