parent
fdc46fbe65
commit
8d3f83d25c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue