Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/no_unique_address12.C

raw
1 // PR c++/98994
2 // { dg-do compile { target c++20 } }
3
4 struct empty {};
5
6 union U {
7 constexpr U(): a() { }
8
9 [[no_unique_address]] empty a;
10 };
11
12 constexpr U u;