Debian Codegraph @

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

raw
1 // { dg-do compile { target c++17 } }
2
3 template <class T> struct A;
4
5 template <class T> struct A {
6 A(T&&);
7 };
8
9 int i;
10 A a = i; // { dg-error "" }