diff options
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index ec4e154a55..ae33a13890 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -50,3 +50,12 @@ void f6() { p = __builtin_alloca(10); p[1] = 'a'; } + +struct s2; + +void g2(struct s2 *p); + +void f7() { + struct s2 *p = __builtin_alloca(10); + g2(p); +} |