Add test for incomplete struct pointer.

llvm-svn: 59236
This commit is contained in:
Zhongxing Xu 2008-11-13 08:44:52 +00:00
parent 29188c2948
commit b9ec8f555f
1 changed files with 9 additions and 0 deletions

View File

@ -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);
}