blob: 894b20047ce0a27b4b4322d6864786d572b7044b [file] [log] [blame]
// Contributed by Dodji Seketeli <dodji@redhat.com>
// Origin: PR c++
// { dg-do compile }
// { dg-options "-O -gdwarf-2 -dA -gno-strict-dwarf -fno-debug-types-section" }
// { dg-final { scan-assembler-times "DW_AT_explicit" 2 } }
struct Foo
{
Foo () {}
explicit Foo (int) {}
Foo (char) {}
~Foo () {};
};
void
bar ()
{
Foo foo;
}