URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [debug/] [dwarf2/] [explicit-constructor.C] - Rev 301
Go to most recent revision | Compare with Previous | Blame | View Log
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++
// { dg-do compile }
// { dg-options "-O -g -dA -gno-strict-dwarf" }
// { dg-final { scan-assembler-times "DW_AT_explicit" 2 } }
struct Foo
{
Foo () {}
explicit Foo (int) {}
Foo (char) {}
~Foo () {};
};
void
bar ()
{
Foo foo;
}
Go to most recent revision | Compare with Previous | Blame | View Log