From-SVN: r23242
This commit is contained in:
Jason Merrill 1998-10-22 22:21:02 -04:00
parent fdc46fbe65
commit 8d3f83d25c
2 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,6 @@
// Based on a testcase by Bryan Weston <bryanw@bluemoon.sps.mot.com>
// egcs 1.1 fails to increment count
// execution test - XFAIL *-*-*
#include <cstdlib>
struct Base { Base() {} }; // removing the constructor fixes the problem

View File

@ -9,5 +9,5 @@ aci var = { 2, 3, 5, 7, 11, 13 };
void
f()
{
int * ip = var; // ERROR - requires const_cast - XFAIL *-*-*
int * ip = var; // ERROR - requires const_cast
}