URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [rv1.C] - Rev 852
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do compile }
// { dg-options "-g -dA -gdwarf-4 -std=c++0x" }
// { dg-final { scan-assembler-times "DIE\[^\n\r\]*DW_TAG_reference_type" 1 } }
// { dg-final { scan-assembler-times "DIE\[^\n\r\]*DW_TAG_rvalue_reference_type" 1 } }
struct A { A (); ~A (); };
struct B { B (); ~B (); };
void
foo ()
{
A v;
A &a = v;
B &&b = B ();
}
Go to most recent revision | Compare with Previous | Blame | View Log