Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lto/pr66180_0.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
// { dg-lto-do link } // { dg-require-effective-target lto_incremental } // { dg-lto-options { { -flto -std=c++14 -r -nostdlib } } } #include <memory> namespace { class A { int i; }; } class G { std::unique_ptr<A> foo() const; }; std::unique_ptr<A> G::foo() const { return std::make_unique<A>(); }