X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fregression%2Ftests%2Fbug-895992.c;h=8492327b8785a38891d48a21348cca02ea43378a;hb=13b845db7aab0716af2fa014cbfcaa56dc4b0a73;hp=77018e072f26d5497fc49fe07c8b477abdcb6806;hpb=7ede08af250a7aa78b8af220bc01d3be3a8234e8;p=fw%2Fsdcc diff --git a/support/regression/tests/bug-895992.c b/support/regression/tests/bug-895992.c index 77018e07..8492327b 100644 --- a/support/regression/tests/bug-895992.c +++ b/support/regression/tests/bug-895992.c @@ -28,13 +28,8 @@ wait (void) #endif static void -testLR(void) +testLR (void) { -/* - * excluded for pic16 due to bug: - * [ 1511794 ] pic16: regression test bug-895992.c fails - */ -#ifndef SDCC_pic16 unsigned char number; unsigned char start = 1; unsigned char i; @@ -42,7 +37,7 @@ testLR(void) do { for (i = 1; i > 0 ; i--) - wait(); /* destroys all registers */ + wait (); /* destroys all registers */ if (start) { number = p0; @@ -55,6 +50,5 @@ testLR(void) } while (number != 0); - ASSERT(loops == p0); -#endif + ASSERT (loops == p0); }