☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash41.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/crash41.C
code
plain
raw
1
// { dg-do compile }
2
// Origin: Mark Mitchell <
[email protected]
>
3
4
template <int> struct S1{};
5
6
struct S2 { int i; };
7
8
template <class T>
9
void f(S2 s2) {
10
S1<s2.i> s1; // { dg-error "" }
11
}
12
13
template void f<int>(S2);