☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
ref1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/ref1.C
code
plain
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 "" }