aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/set-uimm0.c
diff options
Diffstat (limited to 'validation/optim/set-uimm0.c')
-rw-r--r--validation/optim/set-uimm0.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/validation/optim/set-uimm0.c b/validation/optim/set-uimm0.c
new file mode 100644
index 00000000..1f62358f
--- /dev/null
+++ b/validation/optim/set-uimm0.c
@@ -0,0 +1,10 @@
+static _Bool setlt0(unsigned int a) { return (a < 0u) == 0; }
+static _Bool setge0(unsigned int a) { return (a >= 0u) == 1; }
+
+/*
+ * check-name: set-uimm0
+ * check-command: test-linearize $file
+ *
+ * check-output-ignore
+ * check-output-pattern(2): ret\\.1 *\\$1
+ */