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