URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do run }
|
// { dg-do run }
|
// PRMS Id: 4341
|
// PRMS Id: 4341
|
// Bug: Instantiating a template in the middle of processing the functions
|
// Bug: Instantiating a template in the middle of processing the functions
|
// from another template screws up lineno/input_filename.
|
// from another template screws up lineno/input_filename.
|
|
|
#pragma implementation "C.h"
|
#pragma implementation "C.h"
|
#line 1 "A.h"
|
#line 1 "A.h"
|
#pragma interface
|
#pragma interface
|
template class A {};
|
template class A {};
|
#line 1 "C.h"
|
#line 1 "C.h"
|
#pragma interface
|
#pragma interface
|
template class C
|
template class C
|
{
|
{
|
public:
|
public:
|
C() { A *ap; }
|
C() { A *ap; }
|
~C() { }
|
~C() { }
|
};
|
};
|
#line 18 "inline.C"
|
#line 18 "inline.C"
|
int main()
|
int main()
|
{
|
{
|
C c;
|
C c;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.