☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit-instantiation9.C
☽
☼
gcc/testsuite/g++.dg/template/explicit-instantiation9.C
code
plain
raw
1
// Fixits for specialisations are not valid for instantiations
2
3
template <typename T>
4
struct S {};
5
6
template struct S<int> {}; // { dg-error "explicit instantiation cannot have a definition" }