Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto51.C
blob: dfb08336b53ca3fa4bdec55d6e898dbf4fbf73bd [
file
] [
log
] [
blame
]
// PR c++/84798
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
S
{
static
constexpr
T value
=
0
;
};
constexpr
auto
x
=
S
<
void
(*)(
auto
)>::
value
;
// { dg-error "auto" }