summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/semko.stp
diff options
context:
space:
mode:
authorfche <fche>2005-06-03 21:01:35 +0000
committerfche <fche>2005-06-03 21:01:35 +0000
commit553d27a587615e4b242a89bf1a7af93b71f050f0 (patch)
tree1ca4e5d35908208e5d533bb32e22b6aa567221b8 /testsuite/parseok/semko.stp
parent63a7c90e365874972925e886ed50941f5620bdfe (diff)
downloadsystemtap-steved-553d27a587615e4b242a89bf1a7af93b71f050f0.tar.gz
systemtap-steved-553d27a587615e4b242a89bf1a7af93b71f050f0.tar.xz
systemtap-steved-553d27a587615e4b242a89bf1a7af93b71f050f0.zip
2005-06-03 Frank Ch. Eigler <fche@redhat.com>
* TODO: Removed entries already represented in bugzilla. * elaborate.cxx: Rewrite type inference for several operators. * main.cxx (main): For -p2 runs, print types of function/probe locals. * parse.cxx (scan): Identify more two-character operators. (parse_comparison): Support the whole suite. * translate.cxx (visit_unary_expression, logical_or_expr, logical_and_expr, comparison,ternary_expression): New support. * testsuite/parseok/semok.stp: Clever new test. * testsuite/transok/four.stp: New test. * testsuite/*: Some tweaked tests for syntax changes.
Diffstat (limited to 'testsuite/parseok/semko.stp')
-rwxr-xr-xtestsuite/parseok/semko.stp6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/parseok/semko.stp b/testsuite/parseok/semko.stp
new file mode 100755
index 00000000..11f2a2da
--- /dev/null
+++ b/testsuite/parseok/semko.stp
@@ -0,0 +1,6 @@
+#! /bin/sh
+
+# make sure that we can *parse* all semko test files, to ensure
+# that it is semantic (elaboration) checks that fail, not parse errors
+
+./stap -p1 -I${SRCDIR}/testsuite/semko -e 'global nothing'