aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/and-or-lsr2.c
diff options
Diffstat (limited to 'validation/optim/and-or-lsr2.c')
-rw-r--r--validation/optim/and-or-lsr2.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/validation/optim/and-or-lsr2.c b/validation/optim/and-or-lsr2.c
new file mode 100644
index 00000000..a0df2963
--- /dev/null
+++ b/validation/optim/and-or-lsr2.c
@@ -0,0 +1,14 @@
+int foo(int x, int y)
+{
+ return ((x & 0xf0ffffff) | y) >> 12;
+}
+
+/*
+ * check-name: and-or-lsr2
+ * check-command: test-linearize -Wno-decl $file
+ * check-known-to-fail
+ *
+ * check-output-ignore
+ * check-output-contains: and\\..*\\$0xf0fff
+ * check-output-excludes: and\\..*\\$0xf0ffffff
+ */