(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
class-deduction72.C
// PR c++/91759
// { dg-do compile { target c++17 } }

namespace N {
  template <typename T>
  struct X{ X(int); };	// { dg-message "declared here" }
}

using N::X;

X(int) -> X<int>;	// { dg-error "must be declared in the same scope as" }