aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction116.C
blob: 00f6d5fef4196b27183fe7d3254440c39924e933 (plain)
1
2
3
4
5
6
7
8
// PR c++/106604
// { dg-do compile { target c++17 } }
// { dg-additional-options "-Wunused-function" }

namespace {
  template<class T> struct A { A(...); };
  A(bool) -> A<bool>; // { dg-bogus "never defined" }
}