From 54870fb76b5f59cc2e6d69a8c7a8ef17853a0029 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 5 Dec 2016 15:09:04 +0200 Subject: Add comma, ternary, logical operators support in eval context --- tests/eval/comma.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/eval/comma.test (limited to 'tests/eval/comma.test') diff --git a/tests/eval/comma.test b/tests/eval/comma.test new file mode 100644 index 0000000..0e9384a --- /dev/null +++ b/tests/eval/comma.test @@ -0,0 +1,13 @@ +# file : tests/eval/comma.test +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +# Test value packs (eval-comma). + +.include ../common.test + +: comma +: +$* <'print (foo, bar)' 2>>EOE != 0 +:1:7: error: expected single value +EOE -- cgit v1.1