blob: ec0048dc5aff7bc59ad4c3707a306bac56ff73e7 [file] [log] [blame]
Test to ensure correct handling of --> as a single line comment when at the beginning of a line
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS 'should be a syntax error' --> threw exception SyntaxError: Unexpected EOF.
PASS /**/ 1 --> threw exception SyntaxError: Unexpected EOF.
PASS 1 /**/ --> threw exception SyntaxError: Unexpected EOF.
PASS 1/*
*/--> threw exception SyntaxError: Unexpected token '>'.
PASS --> is undefined.
PASS /**/--> is undefined.
PASS /*
*/--> is undefined.
PASS successfullyParsed is true
TEST COMPLETE