2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / inline.C
blobd614d541a29acb791226da4e64808e6a7bdca502
1 // { dg-do run  }
2 // PRMS Id: 4341
3 // Bug: Instantiating a template in the middle of processing the functions
4 // from another template screws up lineno/input_filename.
6 #pragma implementation "C.h"
7 #line 1 "A.h"
8 #pragma interface
9 template <class T> class A {};
10 #line 1 "C.h"
11 #pragma interface
12 template <class T> class C
14 public:
15   C() { A<T> *ap; }
16   ~C() { }
18 #line 18 "inline.C"
19 int main()
21   C<int> c;