Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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 }
};
}