summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/ref3.C
blob: b9923cb85ef2ee4678b557a5b1f2e18c9a0c048b (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// PRMS Id: ????

void f (const int& i)
{
  &(int&)i;			// { dg-bogus "" } references ARE lvalues
}