aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/ref1.C
blob: 590ddf507c9a78d15ccac1692cf66aeb5f818f57 (plain)
1
2
3
4
5
6
7
8
// Bug: g++ tries to call a constructor for a reference.  Doh!
// Build don't link:

class B;
struct A {
  B & b;
  A (B & x) : b (x) { }		// gets bogus error - 
};				// gets bogus error -