Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/lto/pr87089_0.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-lto-do link } // { dg-extra-ld-options "-r -nostdlib -flinker-output=nolto-rel" } namespace itpp { template <class a> void b(a *c) { c[0].~a(); } class CFix; template <class> class d { void e(const char *); CFix *data; }; class CFix { public: virtual ~CFix(); }; template <> void d<int>::e(const char *) { b(data); } } // namespace itpp int main (void) { return 0; }