Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alignas23.C

raw
1 // PR c++/117512
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 alignas(sizeof (long long)) int b;
6 ~A ();
7 };
8 A foo (int);
9
10 void
11 bar ()
12 {
13 A e = { 0 };
14 A d = foo (0) = e;
15 }