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" }
}