aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction18.C
blob: a0e6a73f197e5e00a614f90a48e2db7e1b7013b4 (plain)
1
2
3
4
5
6
7
// { dg-do compile { target c++17 } }

template<class T> struct S{S(T){}};

int main() {
  S{1};
}