☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
explicit1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/explicit1.C
code
plain
raw
1
// { dg-do assemble }
2
// Origin: Jason Merrill <
[email protected]
>
3
4
struct A
5
{
6
A ();
7
explicit A (int);
8
};
9
10
int main ()
11
{
12
const A& r = 1; // { dg-error "" } no suitable constructor
13
}