Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
ref1.C
blob: 5099077dc4921053e5765c8dce4e30b5b9d9e493 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Bug: g++ tries to call a constructor for a reference. Doh!
class
B
;
struct
A
{
B
&
b
;
A
(
B
&
x
)
:
b
(
x
)
{
}
// { dg-bogus "" }
};
// { dg-bogus "" }