OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.law / init4.C
index 0848762..382de33 100644 (file)
@@ -1,5 +1,5 @@
-// Build don't link: 
-// Special g++ Options: -pedantic-errors
+// { dg-do assemble  }
+// { dg-options "-pedantic-errors" }
 // GROUPS passed initialization
 class Time;
 class TimeNote;
@@ -7,7 +7,7 @@ class TimeNote;
 class SvTime
 {
 public:
-    static TimeNote *time_events = 0;// ERROR - .*
+    static TimeNote *time_events = 0;// { dg-error "" } .*
 };
 
-SvTime CurrentTime = {0};// ERROR - 
+SvTime CurrentTime = {0};// { dg-error "" }