Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/var-templ13.C

raw
1 // { dg-do compile { target c++14 } }
2
3 template <class T> T x;
4 template <> int x<int> = 0;
5 template <> int x<int> = 0; // { dg-error "x<int>" }