aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/setne0-sext.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-03 18:46:39 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-04 22:21:41 +0200
commit0e872d2941a69295e9c77c7c7d35a36daf273a59 (patch)
treec12c8d724816ca01a808a043d941ceb1e9c9a3d2 /validation/optim/setne0-sext.c
parent8a852bf56850a0135e0e50cbc141fafce910d258 (diff)
downloadsparse-dev-0e872d2941a69295e9c77c7c7d35a36daf273a59.tar.gz
add testcase for linearize_logical()
Add some tests in preparation of some bug-fixing and simplification in linearize_logical()linearize_conditional(). Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim/setne0-sext.c')
-rw-r--r--validation/optim/setne0-sext.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/validation/optim/setne0-sext.c b/validation/optim/setne0-sext.c
new file mode 100644
index 00000000..565f8df2
--- /dev/null
+++ b/validation/optim/setne0-sext.c
@@ -0,0 +1,10 @@
+long foo(int a) { return a != 0; }
+
+/*
+ * check-name: setne0-sext
+ * check-command: test-linearize -m64 -Wno-decl $file
+ * check-known-to-fail
+ *
+ * check-output-ignore
+ * check-output-excludes: sext\\.
+ */