blob: 3e510feee23e377b6301f344fd16033af397038d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PR c++/89420
// { dg-do compile { target c++20 } }
template<typename>
struct S {
explicit(int(1)) S(int);
explicit(int{1}) S(int, int);
};
S<int> s(1);
S<int> s2(1, 2);
|