summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg4.C
blob: 2f4bc4210a340e9c94191472108eca3f44c04029 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// GROUPS passed error-messages
class X {
public:
    static int x;// { dg-error "" }  previous.*
    static int y;// { dg-error "" }  previous.*
};

unsigned X::x;// { dg-error "" }  conflict.*
unsigned X::y;// { dg-error "" }  conflict.*