aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.brendan/err-msg4.C
blob: d1d84448f3885c747fdbd5a92dc45cd2457776ef (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-message "" }  previous.*
    static int y;// { dg-message "" }  previous.*
};

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