URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [pr46527.C] - Rev 852
Go to most recent revision | Compare with Previous | Blame | View Log
// Origin: PR 46527
// { dg-do compile }
// { dg-options "-g -O0 -dA" }
template <typename T> struct Struct {
double defined_later();
};
struct WrapperStruct {
Struct<double> ClassInstantiated;
};
template <typename T> double
Struct<T>::defined_later() // { dg-function-on-line {_ZN6StructIdE13defined_laterEv} }
{
return 1;
}
void InstantiateMethod() {
Struct<double>().defined_later();
}
Go to most recent revision | Compare with Previous | Blame | View Log