Fixed them to compile
authormichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 21 Jul 2001 05:35:35 +0000 (05:35 +0000)
committermichaelh <michaelh@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 21 Jul 2001 05:35:35 +0000 (05:35 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1091 4a8a32a2-be11-0410-ad9d-d568d2c75423

support/regression/tests/bug-223113.c
support/regression/tests/bug-408972.c
support/regression/tests/bug-426632.c

index de4e1e50056aa469ed56ef063cc502f96e09c6de..82a338c63e841ccff8327cb108ff495ded946edd 100644 (file)
@@ -1,3 +1,5 @@
+#include <testfwk.h>
+
 /* 
  *------------------------------------------------- 
  */ 
@@ -22,7 +24,7 @@
  /* 
   *  *-------------------------------------------------- 
   *  */ 
- void main( void ) 
+ void __main( void ) 
 { 
     puts( "hello world\n" ); 
 } 
index 98f47e154050a175a87a47be3f62ec5aa095789f..ab8ded70544fa143f588dc9dc72f29988005e9b5 100644 (file)
@@ -1,3 +1,7 @@
+/* Fake header.
+ */
+#include <testfwk.h>
+
 long leftShiftLong (long l) { 
   /* PENDING: Disabled.
      return (l << 3); 
index ae5a3a453f33de1919b5e06266941786959a804a..8d29050f8b7afe878c02141ea89190c25076a956 100644 (file)
@@ -1,3 +1,5 @@
+#include <testfwk.h>
+
 typedef struct { 
     unsigned char year; /* Current 
                         * year (with offset 1900) */ 
@@ -11,7 +13,7 @@ unsigned char year;
 unsigned char month; 
 unsigned char day; 
 
-void *main() 
+void *__main()
 { 
     float i; 
     float y;