Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Winterference-2.C
blob: 2af75c63f83ae28d190d8a7e7fc3f3af3ce21240 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++20 } }
// { dg-additional-options -fmodules-ts }
module
;
#include
<new>
export
module
foo
;
export
{
struct
A
{
alignas
(
std
::
hardware_destructive_interference_size
)
int
x
;
// { dg-warning Winterference-size }
};
}