Debian Codegraph @

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

raw
1 // PR c++/90173
2 // { dg-do compile { target c++17 } }
3
4 template <typename T> struct A { };
5
6 A(int) -> A<int>;
7
8 namespace decl {
9 A (*fp)() = 0; // { dg-error "placeholder" }
10 }