* src/*/ralloc.c: removed IS_OP_RUONLY macro
[fw/sdcc] / support / regression / tests / bug-1805702.c
index aaeac00ee50a58bd28ed84b8edbb811c085d934c..54c532b23df188c6e23046dd9aaeb39231c36af2 100644 (file)
@@ -3,19 +3,22 @@
 
 #include <testfwk.h>
 
-/* disabled */
-#if 0
 int foo;
 extern int foo;
-#endif
 
 void
 test(void)
 {
-/* disabled */
-#if 0
   foo = 10;
 
   ASSERT(foo == 10);
-#endif
+}
+
+/* compile time check for compiler defined functions (cdef) */
+
+float __fsmul (float, float);
+
+float __fsmul (float a1, float a2) {
+  /* just for tesing... */
+  return (a1 + a2);
 }