Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.dg
/
parse
/
error21.C
blob: 6e24ae2244ec7ab4753ad10df19208d941735271 [
file
] [
log
] [
blame
]
// PR c++/17393
// { dg-options "-Wall" }
struct
A
{
};
void
foo
()
{
// Check that we do not complain about an unused
// compiler-generated variable.
A
&
=
a
;
// { dg-error "token|declarator|not declared" }
}