URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [self-ref-2.C] - Rev 852
Go to most recent revision | Compare with Previous | Blame | View Log
// Origin: PR debug/45088
// { dg-do compile }
// { dg-options "-g -dA" }
// { dg-final { scan-assembler-times "\[^\n\r\]*\\(DIE\[^\n\r\]*DW_TAG_pointer_type\\)\[\n\r\]{1,2}\[^\n\r\]*DW_AT_byte_size\[\n\r\]{1,2}\[^\n\r\]*DW_AT_type" 4 } }
template<class T>
struct A
{
virtual ~A();
};
struct B : public A<int>
{
virtual ~B(){}
};
struct C : public B
{
A<int>* a1;
};
int
main()
{
C c;
c.a1 = 0;
return 0;
}
Go to most recent revision | Compare with Previous | Blame | View Log