Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignof2.C
blob: d571d9d77dc66d51ea11a21223acbae4ce20f74a [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
// { dg-options "-pedantic" }
int
main
(
void
)
{
alignof
(
int
);
//ok with a type but not with an expression
alignof
(
3
);
// { dg-warning "alignof" }
}