Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction59.C

raw
1 // PR c++/88631
2 // { dg-do compile { target c++17 } }
3
4 template<class T = void>
5 class A { };
6
7 int main()
8 {
9 auto x = A();
10 auto x2 = A{};
11 A y;
12 }