Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.pt/instantiate1.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// { dg-do assemble } template <class T> void f(T t) {} template void f<int>(int); template void f<>(long); template <class T> struct S { void bar(int) {} template <class U> void baz(U u) {} }; template struct S<char>; template void S<int>::bar(int); template void S<double>::baz<short>(short); template void S<long>::baz<>(char);