Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas12.C
blob: bc16344152907fb204855550f4bd09934588dd86 [
file
] [
log
] [
blame
]
// PR c++/71821
// { dg-do compile { target c++11 } }
template
<
typename
>
constexpr
int
f
()
{
return
4
;
}
alignas
(
f
<
int
>)
char
c
;
// { dg-error "non-integral type" }