Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
auto-storage-1.C
blob: 61378256bdcfaeedd4f3b0db721f68cdadd3a3b3 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++98_only } }
void
foo
()
{
auto
void
bar
();
// { dg-error "3:storage class .auto. invalid for function" }
}