Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
no_unique_address3.C
blob: 07108b8b71519fee39510056590220fbcfb50022 [
file
] [
log
] [
blame
]
// PR c++/90432
// { dg-do compile { target c++11 } }
struct
empty
{};
struct
has_empty
{
[[
no_unique_address
]]
empty brace_or_equal_initialized
{};
};
struct
has_value
{
int
non_zero
=
1
;
};
struct
pair
:
has_empty
,
has_value
{};
pair a
;