3 // { dg-options "-std=c++2a" }
5 template<int M = 0> struct A {
6 template<typename T, int N = 0>
7 explicit(N + M) operator T();
10 template<int M = 1> struct B {
11 template<typename T, int N = 1>
12 explicit(N * M) operator T();
25 int i1 = a1; // { dg-error "cannot convert" }
28 int j = b; // { dg-error "cannot convert" }
34 int j1 = b1; // { dg-error "cannot convert" }