aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg4.C
blob: 72f6150a8820a712fae504e918bec9f189d5e5ab (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link: 
// GROUPS passed error-messages
class X {
public:
    static int x;// ERROR -  previous.*
    static int y;// ERROR -  previous.*
};

unsigned X::x;// ERROR -  conflict.*
unsigned X::y;// ERROR -  conflict.*