From ca077833bc86644749187660098d5897e8396b36 Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Thu, 4 Feb 1999 14:33:22 -0500 Subject: [PATCH] fix to actually offer usable results From-SVN: r25032 --- gcc/testsuite/g++.old-deja/g++.law/operators1.C | 3 ++- gcc/testsuite/g++.old-deja/g++.law/operators7.C | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators1.C b/gcc/testsuite/g++.old-deja/g++.law/operators1.C index 138fb725a37..94a6a704d5c 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/operators1.C +++ b/gcc/testsuite/g++.old-deja/g++.law/operators1.C @@ -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" // 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); } diff --git a/gcc/testsuite/g++.old-deja/g++.law/operators7.C b/gcc/testsuite/g++.old-deja/g++.law/operators7.C index 7d00bd7c2ba..caa2ffe2edd 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/operators7.C +++ b/gcc/testsuite/g++.old-deja/g++.law/operators7.C @@ -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); } -- 2.30.2