improved fehler101.c. Now with printing!
[libfirm] / ir / be / test / fehler36.c
index 9f80064..ec22042 100644 (file)
@@ -1,7 +1,19 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-float t()
+#ifdef __GNUC__
+#define NO_INLINE __attribute__((noinline))
+#else
+#define NO_INLINE __declspec(noinline)
+#endif
+
+float NO_INLINE t2()
+{
+       float a;
+       return a + 12.54f;
+}
+
+float NO_INLINE t()
 {
        exit(0);
 }
@@ -9,5 +21,6 @@ float t()
 int main()
 {
        t();
+       t2();
        return 0;
 }