From 7d915504f3331a7be2f2ed7e46198edb76f0702d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 11 Dec 2014 04:08:23 +0100 Subject: mds-kbdc: validate-tree: add test case: assumption inside assumption MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .../validate-tree/invalid/assumption-assumption | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test-files/mds-kbdc/validate-tree/invalid/assumption-assumption (limited to 'test-files/mds-kbdc/validate-tree') diff --git a/test-files/mds-kbdc/validate-tree/invalid/assumption-assumption b/test-files/mds-kbdc/validate-tree/invalid/assumption-assumption new file mode 100644 index 0000000..3e80ddd --- /dev/null +++ b/test-files/mds-kbdc/validate-tree/invalid/assumption-assumption @@ -0,0 +1,19 @@ +assumption + assumption + end assumption +end assumption + +# (assumption (@ 1 0-10) +# (.inner +# (assumption (@ 2 2-12) +# (.inner nil) +# ) +# ) +# ) +# :2:2–12: error: nested assumption clause +# assumption +# ^^^^^^^^^^ +# :1:0–10: note: outer assumption clause defined here +# assumption +# ^^^^^^^^^^ + -- cgit v1.2.3-70-g09d2