Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lto/pr88049_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
// PR c++/88049 // { dg-lto-do link } // { dg-lto-options {{ -flto -O2 -w }} } // { dg-require-effective-target lto_incremental } // { dg-extra-ld-options -r } template <typename> class a; class b {}; template <typename e> a<e> d(char); template <typename> class a : public b { public: virtual ~a(); }; namespace { class f; b c = d<f>(int()); } // namespace