repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
inline.C
blob
d614d541a29acb791226da4e64808e6a7bdca502
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.
5
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
13
{
14
public:
15
C() { A<T> *ap; }
16
~C() { }
17
};
18
#line 18 "inline.C"
19
int main()
20
{
21
C<int> c;
22
}