repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr66180_0.C
blob
cfb496bec4ad9757a197d469b4168ec39da60cd7
1
// { dg-lto-do link }
2
// { dg-require-effective-target lto_incremental }
3
// { dg-lto-options { { -flto -std=c++14 -r -nostdlib } } }
4
#include <memory>
5
namespace {
6
class A {
7
int i;
8
};
9
}
10
class G {
11
std::unique_ptr<A> foo() const;
12
};
13
std::unique_ptr<A> G::foo() const { return std::make_unique<A>(); }
14