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