Sign in
llvm
/
llvm-archive
/
80a0e6b09a6ccb2f8832d59b5fb8d96f9ae994c5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
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" }
}