Debian Codegraph @

gcc/testsuite/g++.dg/warn/Wsubobject-linkage-5.C

raw
1 // PR c++/86491
2 // { dg-do compile { target c++11 } }
3
4 template <int *> struct NT{};
5 #line 6 "tM.C"
6 static int d;
7 struct D : NT<&d> {}; // { dg-warning "internal linkage" }