3 // { dg-options "-std=c++2a" }
5 int foo() { return 42; }
9 explicit(foo()) S(int); // { dg-error "call to" }
10 explicit(int) S(int, int); // { dg-error "expected" }
11 explicit(false ? 1 : throw 1) S(int, int, int); // { dg-error "not a constant" }
16 explicit(false) S2(); // { dg-error "cannot be overloaded" }
23 S s2 = { 1, 2 }; // { dg-error "could not convert" }