Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/ref1.C

raw
1 // { dg-do assemble }
2 // Bug: g++ tries to call a constructor for a reference. Doh!
3
4 class B;
5 struct A {
6 B & b;
7 A (B & x) : b (x) { } // { dg-bogus "" }
8 }; // { dg-bogus "" }