(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
warn/
Wsubobject-linkage-5.C
// PR c++/86491
// { dg-do compile { target c++11 } }

template <int *> struct NT{};
#line 6 "tM.C"
static int d;
struct D : NT<&d> {};		// { dg-warning "internal linkage" }