OSDN Git Service

Formatting fixes.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / label1.C
1 // { dg-do assemble  }
2
3 template <class T>
4 struct S {};
5
6 template <class T>
7 inline void g(T t)
8 {
9  here:
10   S<T> st;
11   goto here;
12 }
13
14 template <class T>
15 void f(T t)
16 {
17  here:
18   g(t);
19   goto here;
20 }
21
22 void h()
23 {
24   f(3);
25 }