* support/regression/Makefile.in:
[fw/sdcc] / support / regression / tests / longlit.c
index 8dcda52fc0f1331050911787b63f97f4408c2379..ded0d15e5e86e4a18fae54829ef52ce892c6fddb 100644 (file)
@@ -2,15 +2,16 @@
  */
 
 #include <testfwk.h>
-#include <stdio.h>
 
 #define OSCILLATOR 11059200
-#define BAUD 19200
+#define BAUD 19200L
 
 #define T1_RELOAD_VALUE -(2*OSCILLATOR)/(32*12*BAUD)
 
-char T1=T1_RELOAD_VALUE;
+static unsigned char T1=T1_RELOAD_VALUE;
 
-void test (void) {
+void
+testLongLit(void)
+{
   ASSERT(T1==0xfd);
 }