Commit 8d3f83d2 by Jason Merrill

up

From-SVN: r23242
parent fdc46fbe
// 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
......
......@@ -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
}
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