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