From f22abeb48873c2f9e3d19be0a114254aa42ca76c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 12 Jan 2007 18:09:20 +0000 Subject: [PATCH] Fixed for GCC and MS --- ir/be/test/ll_call.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ir/be/test/ll_call.c b/ir/be/test/ll_call.c index 40f201fc5..b6969a87f 100644 --- a/ir/be/test/ll_call.c +++ b/ir/be/test/ll_call.c @@ -1,7 +1,5 @@ #include -#if 1 -//#ifdef __GNUC__ long long fac(long long n) { if(n < 1) @@ -12,7 +10,7 @@ long long fac(long long n) int main(void) { printf("Result:%lld (should be 3628800)\n",fac(10)); - printf("Result:%lld (should be 39916800)\n",fac(11)); + printf("Result:%lld (should be 39916800)\n",fac(11)); printf("Result:%lld (should be 479001600)\n",fac(12)); printf("Result:%lld (should be 6227020800)\n",fac(13)); printf("Result:%lld (should be 87178291200)\n",fac(14)); @@ -25,10 +23,3 @@ int main(void) { return fac(20) != 2432902008176640000ULL; } - -#else -int main() -{ - return 0; -} -#endif -- 2.20.1