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
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted16.C
blob
f866c8e982b15bdcf4e430984680357ae77f0ebe
1
// Test that non-inline default causes the function to be defined even if
2
// it isn't used.
3
4
// { dg-do compile { target c++11 } }
5
// { dg-final { scan-assembler "_ZN1AC1Ev" } }
6
7
struct A
8
{
9
A();
10
};
11
12
A::A() = default;
13