diff --git a/t/Makefile.am b/t/Makefile.am index 32dd64c..75a590f 100644 --- a/t/Makefile.am +++ b/t/Makefile.am @@ -15,6 +15,7 @@ check_ERRORS = \ do-01.err \ do-02.err \ feed-01.err \ + feed-02.err \ mlist-01.err \ var-01.err \ var-02.err \ diff --git a/t/Makefile.in b/t/Makefile.in index eb733e7..ef0ea0d 100644 --- a/t/Makefile.in +++ b/t/Makefile.in @@ -486,6 +486,7 @@ check_ERRORS = \ do-01.err \ do-02.err \ feed-01.err \ + feed-02.err \ mlist-01.err \ var-01.err \ var-02.err \ diff --git a/t/feed-02.err b/t/feed-02.err new file mode 100644 index 0000000..63bddfc --- /dev/null +++ b/t/feed-02.err @@ -0,0 +1,8 @@ +## while EOL is ignored in explicitly parenthesized XLIST, a semicolon must not be. +(printf + "hello, world\n" +) + +(printf; ##ERROR: synax error - unexpected semicolon + "hello, world\n" +)