☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wsubobject-linkage-5.C
☽
☼
gcc/testsuite/g++.dg/warn/Wsubobject-linkage-5.C
code
plain
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" }