Debian Codegraph @

gcc/testsuite/g++.dg/template/explicit-instantiation9.C

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" }