aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/scheduling/mal_schedule.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/scheduling/mal_schedule.c')
-rw-r--r--test/monniaux/scheduling/mal_schedule.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/monniaux/scheduling/mal_schedule.c b/test/monniaux/scheduling/mal_schedule.c
new file mode 100644
index 00000000..a6ba967f
--- /dev/null
+++ b/test/monniaux/scheduling/mal_schedule.c
@@ -0,0 +1,14 @@
+#include <stdint.h>
+int16_t meuh;
+extern int uv_encode(double, double, int);
+void f(int *ab, int e) {
+ uint32_t *ao = (uint32_t *)ab;
+ int16_t *aq = &meuh;
+ while (e) {
+ int ar, as;
+ ar = 1. / 2147483647;
+ as = uv_encode(5, *aq, *ab);
+ if (as)
+ *ao++ = ar;
+ }
+}