☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
defarg2.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/defarg2.C
code
plain
raw
1
// { dg-do run }
2
template <int S=0, class T=int>
3
struct X
4
{};
5
6
template <>
7
struct X<0,int>
8
{};
9
10
template <int S>
11
struct X<S,int>
12
: X<>
13
{};
14
15
int main()
16
{
17
X<1,int> x;
18
}