blob: 920a4909e15580c36ea310ab0c88361b8960b8f3 [file] [log] [blame]
// PR c++/17393
// { dg-options "-Wall -fshow-column" }
struct A { };
void foo()
{
// Check that we do not complain about an unused
// compiler-generated variable.
A& = a; // { dg-error "6:expected unqualified-id before '=' token" "6" }
}