blob: 007b7c398d148d5cf086f3adf87be21a3ff82c56 [file] [log] [blame]
struct S
{
static int i;
const static double d;
};
static int S::i; // { dg-error "1:.static. may not be used" }
const static double S::d = 1.0; // { dg-error "7:.static. may not be used" }