From b86c3365b3c8ca6e6e459d07de124b7ba2d66cad Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 13 Jan 2010 15:11:58 +0100 Subject: Faulty conditionals are parse errors, not semantical errors. The test was correct, the given construct should fail. But it fails because it is a parse error, not because it is a semantical error. So move into the right pass1-4 sub-directory. * testsuite/semko/conditional.stp: Moved to... * testsuite/parseko/conditional.stp: ... here. --- testsuite/parseko/conditional.stp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 testsuite/parseko/conditional.stp (limited to 'testsuite/parseko/conditional.stp') diff --git a/testsuite/parseko/conditional.stp b/testsuite/parseko/conditional.stp new file mode 100644 index 00000000..ee164548 --- /dev/null +++ b/testsuite/parseko/conditional.stp @@ -0,0 +1,5 @@ +#! stap -p2 + +probe begin { + %( 1 == 0 %? print(1) %? print(2) %) +} -- cgit