]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.old-deja/g++.law/init4.C
g++-dg.exp (g++-dg-test): Add "repo" option.
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.law / init4.C
CommitLineData
6481daa9
MM
1// { dg-do assemble }
2// { dg-options "-pedantic-errors" }
921e5a0e
JL
3// GROUPS passed initialization
4class Time;
5class TimeNote;
6
7class SvTime
8{
9public:
6481daa9 10 static TimeNote *time_events = 0;// { dg-error "" } .*
921e5a0e
JL
11};
12
6481daa9 13SvTime CurrentTime = {0};// { dg-error "" }