Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto25.C
blob: 9e08a5bf38186ad888432a9b41aca07092195c9d [
file
] [
log
] [
blame
]
// PR c++/42056
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{
int
a
[
auto
(
1
)];
// { dg-error "invalid use of" }
};
template
<int>
void
foo
()
{
int
a
[
auto
(
1
)];
// { dg-error "invalid use of" }
}