* src/ds390/gen.c (emitcode): don't change properties of previous lines,
[fw/sdcc] / support / regression / tests / longlit.c
index 033a731400976946808566b1d33037ffff6e1cf4..ded0d15e5e86e4a18fae54829ef52ce892c6fddb 100644 (file)
@@ -4,12 +4,14 @@
 #include <testfwk.h>
 
 #define OSCILLATOR 11059200
-#define BAUD 19200
+#define BAUD 19200L
 
 #define T1_RELOAD_VALUE -(2*OSCILLATOR)/(32*12*BAUD)
 
-unsigned char T1=T1_RELOAD_VALUE;
+static unsigned char T1=T1_RELOAD_VALUE;
 
-void test (void) {
+void
+testLongLit(void)
+{
   ASSERT(T1==0xfd);
 }