1 // Verify we don't try to allocate the same stack slot for
2 // buf1 and buf2 in qux. While there is a CLOBBER stmt for buf1
3 // from inlined destructor, the buf1 variable doesn't go out of scope
4 // until after the baz call.
12 struct S { char buf[128]; S () { memset (buf, ' ', 128); }; ~S () {}; };
14 __attribute__((noipa)) void
20 __attribute__((noipa)) int
26 __attribute__((noipa)) void
31 memset (a->buf, '0', 128);
32 memset (b->buf, '1', 128);
33 if (bar (a) != '0' || bar (b) != '1')
39 __attribute__((noipa)) void
44 S *p = new (buf1) (S);