Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignof5.C
blob: 09354d3e1d012fed88768c77999f7e9fe10b2310 [
file
] [
log
] [
blame
]
// PR c++/90736 - bogus error with alignof.
// { dg-do compile { target c++11 } }
constexpr
int
fn
(
const
int
b
)
{
return
b
;
}
constexpr
int
c
=
fn
(
alignof
(
int
));
alignas
(
c
)
char
d
;