Debian Codegraph @

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

raw
1 // PR c++/85135
2 // { dg-do compile { target c++11 } }
3
4 template<int> struct A {};
5
6 auto foo() -> A; // { dg-error "A" }
7
8 template<typename> struct B {};
9
10 auto foo() -> A; // { dg-error "A" }