summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/init4.C
blob: 382de33029521112c0fb25fcd7aa00294adf4700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// { dg-options "-pedantic-errors" }
// GROUPS passed initialization
class Time;
class TimeNote;

class SvTime
{
public:
    static TimeNote *time_events = 0;// { dg-error "" } .*
};

SvTime CurrentTime = {0};// { dg-error "" }