Debian Codegraph @

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

raw
1 // PR c++/106604
2 // { dg-do compile { target c++17 } }
3 // { dg-additional-options "-Wunused-function" }
4
5 namespace {
6 template<class T> struct A { A(...); };
7 A(bool) -> A<bool>; // { dg-bogus "never defined" }
8 }