Commit ca077833 by Brendan Kehoe

fix to actually offer usable results

From-SVN: r25032
parent 7f84e195
// GROUPS passed operators // GROUPS passed operators
// opr-conv file // opr-conv file
// excess errors test - XFAIL *-*-*
// Message-Id: <199301040217.AA04377@cypress.ucsc.edu> // Message-Id: <199301040217.AA04377@cypress.ucsc.edu>
// From: "Dean R. E. Long" <dlong@cse.ucsc.edu> // From: "Dean R. E. Long" <dlong@cse.ucsc.edu>
// Subject: conversion operator bug? // Subject: conversion operator bug?
...@@ -23,5 +24,5 @@ int main() ...@@ -23,5 +24,5 @@ int main()
B *bp = (B *)a; B *bp = (B *)a;
B &br = a.operator B&(); B &br = a.operator B&();
// What's the right test? // What's the right test?
printf ("FAIL\n"); exit (1);
} }
...@@ -38,7 +38,7 @@ int main() { ...@@ -38,7 +38,7 @@ int main() {
test.c.k = 60; test.c.k = 60;
if (test2->c.k == 35 if (test2->c.k == 35
&& test.c.k == 60) && test.c.k == 60)
printf ("PASS\n"); exit (0);
else else
printf ("FAIL\n"); exit (1);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment