repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[gcn] mkoffload.cc: Print fatal error if -march has no multilib but generic has
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
dwarf2
/
explicit-constructor.C
blob
894b20047ce0a27b4b4322d6864786d572b7044b
1
// Contributed by Dodji Seketeli <dodji@redhat.com>
2
// Origin: PR c++
3
// { dg-do compile }
4
// { dg-options "-O -gdwarf-2 -dA -gno-strict-dwarf -fno-debug-types-section" }
5
// { dg-final { scan-assembler-times "DW_AT_explicit" 2 } }
6
7
struct Foo
8
{
9
Foo () {}
10
explicit Foo (int) {}
11
Foo (char) {}
12
~Foo () {};
13
};
14
15
void
16
bar ()
17
{
18
Foo foo;
19
}