☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
local3.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/local3.C
code
plain
raw
1
// { dg-do run }
2
extern "C" void abort();
3
4
template <class T>
5
void f(T)
6
{
7
int j;
8
9
j = 6;
10
11
struct S {
12
int i;
13
};
14
15
S s;
16
17
s.i = j;
18
19
if (s.i != 6)
20
abort();
21
}
22
23
24
int main()
25
{
26
f(7);
27
}