summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error1.C
blob: 1f8bb37732c6d0f72c79bc90b2ee71eefd6f2420 (plain)
1
2
3
4
5
6
7
// { dg-options "-fshow-column" }
struct INCOMPLETE;
template <int> struct X {
    static INCOMPLETE value;
};
template <> INCOMPLETE X<1>::value = 0; // { dg-error "30:variable 'INCOMPLETE X<1>::value' has initializer but incomplete type" }