OSDN Git Service

cp:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / local3.C
1 extern "C" void abort();
2
3 template <class T>
4 void f(T)
5 {
6   int j;
7
8   j = 6;
9
10   struct S {
11     int i;
12   };
13
14   S s;
15
16   s.i = j;
17
18   if (s.i != 6)
19     abort();
20 }
21
22
23 int main()
24 {
25   f(7);
26 }