Debian Codegraph @

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

raw
1 // { dg-do compile { target c++14 } }
2 // { dg-options "-Wall" }
3
4 template <class T> T x;
5 template <> int x<int> = 0;
6
7 int main()
8 {
9 return x<int>;
10 }