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