blob: 123efb743b2d427b668582aa8154ff5e73315dc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// { dg-do assemble }
// Origin: Jason Merrill <jason@redhat.com>
struct A
{
A ();
explicit A (int);
};
int main ()
{
const A& r = 1; // { dg-error "" } no suitable constructor
}
|