aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-mask0.c
diff options
Diffstat (limited to 'validation/optim/and-or-mask0.c')
-rw-r--r--validation/optim/and-or-mask0.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/validation/optim/and-or-mask0.c b/validation/optim/and-or-mask0.c
new file mode 100644
index 00000000..2d2245ea
--- /dev/null
+++ b/validation/optim/and-or-mask0.c
@@ -0,0 +1,12 @@
+int foo(int a, int b)
+{
+ return ((a & 0xfffff000) | b) & 0xfff;
+}
+
+/*
+ * check-name: and-or-mask0
+ * check-command: test-linearize -Wno-decl $file
+ *
+ * check-output-ignore
+ * check-output-excludes: or\\.
+ */