20 changes: 1 addition & 19 deletions gcc/testsuite/gdc.test/runnable/eh.d
Original file line number Diff line number Diff line change
Expand Up @@ -580,24 +580,6 @@ void test9568()

/****************************************************/

void test8()
{
int a;
goto L2; // L2 is not addressable.

try {
a += 2;
}
catch (Exception e) {
a += 3;
L2: ;
a += 100;
}
assert(a == 100);
}

/****************************************************/

uint foo9(uint i)
{
try
Expand Down Expand Up @@ -636,7 +618,7 @@ int main()
//multicollide(); // BUG: EH chaining unimplemented.
test9568();

test8();
//test8(); // BUG: !INVALID TEST!
test9();

printf("finish\n");
Expand Down
4 changes: 2 additions & 2 deletions gcc/testsuite/gdc.test/runnable/testabi.d
Original file line number Diff line number Diff line change
Expand Up @@ -232,12 +232,12 @@ void D_test1( )
if( ~r & 1 )
{
pass = false;
printf( "Test1 out %s \tFail\n", ALL_S[i].ptr );
printf( "Test1 out %.*s \tFail\n", ALL_S[i].length, ALL_S[i].ptr );
}
if( ~r & 2 )
{
pass = false;
printf( "Test1 inout %s \tFail\n", ALL_S[i].ptr );
printf( "Test1 inout %.*s \tFail\n", ALL_S[i].length, ALL_S[i].ptr );
}
}
assert( pass );
Expand Down