☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
non-dependent24.C
☽
☼
gcc/testsuite/g++.dg/template/non-dependent24.C
code
plain
raw
1
// PR c++/105758
2
3
struct A {
4
void foo(int);
5
};
6
7
template<class>
8
struct Z : A {
9
static Z *z;
10
void bar();
11
};
12
13
template<class T>
14
Z<T> *Z<T>::z;
15
16
template<class T>
17
void Z<T>::bar() {
18
z->foo(0);
19
}