summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/parse1.C
blob: 9d06b05524341dd2383963daed4ecf49f0cb5279 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Bug: g++ parses the declaration of r as a function declaration.

void foo (int i)
{
  int &r (i);
  r = 1;			// { dg-bogus "" } 
}