OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [inline.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { 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 A {};
10
#line 1 "C.h"
11
#pragma interface
12
template  class C
13
{
14
public:
15
  C() { A *ap; }
16
  ~C() { }
17
};
18
#line 18 "inline.C"
19
int main()
20
{
21
  C c;
22
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.