1 /* { dg-do compile } */
2
3 struct Foo { char c[1024]; };
4 void foo(void);
5 struct Foo baz(void) __attribute__((returns_twice));
6 struct Foo *p;
7
8 void bar(void)
9 {
10 foo();
11 *p = baz();
12 }