fix to actually offer usable results
authorBrendan Kehoe <brendan@gcc.gnu.org>
Thu, 4 Feb 1999 19:33:22 +0000 (14:33 -0500)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Thu, 4 Feb 1999 19:33:22 +0000 (14:33 -0500)
From-SVN: r25032

gcc/testsuite/g++.old-deja/g++.law/operators1.C
gcc/testsuite/g++.old-deja/g++.law/operators7.C

index 138fb725a3774f7810455b8debb68a0559d512da..94a6a704d5cca3a1238fd7b467384e296715be89 100644 (file)
@@ -1,5 +1,6 @@
 // GROUPS passed operators
 // opr-conv file
+// excess errors test - XFAIL *-*-*
 // Message-Id: <199301040217.AA04377@cypress.ucsc.edu>
 // From: "Dean R. E. Long" <dlong@cse.ucsc.edu>
 // Subject: conversion operator bug?
@@ -23,5 +24,5 @@ int main()
     B *bp = (B *)a;
     B &br = a.operator B&();
 // What's the right test?
-    printf ("FAIL\n");
+    exit (1);
 }
index 7d00bd7c2bae8af28c656b7d7d111b8c8a3be59e..caa2ffe2eddf2457bdc288cbbfdeb88e4e06d7c6 100644 (file)
@@ -38,7 +38,7 @@ int main() {
   test.c.k = 60;
   if (test2->c.k == 35
       && test.c.k == 60)
-    printf ("PASS\n");
+    exit (0);
   else
-    printf ("FAIL\n");
+    exit (1);
 }