[31/77] Use scalar_int_mode for move2add
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / ref1.C
blob5099077dc4921053e5765c8dce4e30b5b9d9e493
1 // { dg-do assemble  }
2 // Bug: g++ tries to call a constructor for a reference.  Doh!
4 class B;
5 struct A {
6   B & b;
7   A (B & x) : b (x) { }         // { dg-bogus "" } 
8 };                              // { dg-bogus "" }