Added test cases from the bug list
[fw/sdcc] / support / regression / tests / bug-426632.c
index ae5a3a453f33de1919b5e06266941786959a804a..ff9db32b76e00bd23b358f8c05634258f60604fc 100644 (file)
@@ -1,17 +1,19 @@
+/* bug-436632.c
+   PENDING
+*/
+#include <testfwk.h>
+
 typedef struct { 
-    unsigned char year; /* Current 
-                        * year (with offset 1900) */ 
-    unsigned char month; /* Month (1 = 
-                         * Jan., ..., 12 = Dec.) */ 
-    unsigned char day; /* Day of 
-                       * month (1 to 31) */ 
+    unsigned char year; /* Current year (with offset 1900) */ 
+    unsigned char month; /* Month (1 = Jan., ..., 12 = Dec.) */ 
+    unsigned char day; /* Day of month (1 to 31) */ 
 } DATE_STRUCT; 
 
 unsigned char year; 
 unsigned char month; 
 unsigned char day; 
 
-void *main() 
+void *__main()
 { 
     float i; 
     float y;