aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/setne0-trunc.c
diff options
Diffstat (limited to 'validation/optim/setne0-trunc.c')
-rw-r--r--validation/optim/setne0-trunc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/validation/optim/setne0-trunc.c b/validation/optim/setne0-trunc.c
new file mode 100644
index 00000000..62131410
--- /dev/null
+++ b/validation/optim/setne0-trunc.c
@@ -0,0 +1,10 @@
+char foo(int a) { return a != 0; }
+
+/*
+ * check-name: setne0-trunc
+ * check-command: test-linearize -m64 -Wno-decl $file
+ * check-known-to-fail
+ *
+ * check-output-ignore
+ * check-output-excludes: trunc\\.
+ */