From dc0349df102935554f453a5d68a60f27fe38a09b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 Feb 2018 19:24:37 +0100 Subject: Add tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- tests/0 | 0 tests/1 | 1 + tests/10 | 2 ++ tests/11 | 1 + tests/12 | 1 + tests/13 | 2 ++ tests/14 | 1 + tests/15 | 1 + tests/16 | 1 + tests/17 | 1 + tests/18 | 1 + tests/19 | 1 + tests/2 | 1 + tests/20 | 1 + tests/21 | 1 + tests/22 | 1 + tests/23 | 1 + tests/24 | 1 + tests/25 | 3 +++ tests/26 | 3 +++ tests/27 | 3 +++ tests/28 | 3 +++ tests/29 | 3 +++ tests/3 | 3 +++ tests/30 | 3 +++ tests/31 | 3 +++ tests/32 | 3 +++ tests/33 | 3 +++ tests/34 | 3 +++ tests/35 | 3 +++ tests/36 | 3 +++ tests/37 | 1 + tests/38 | 1 + tests/39 | 1 + tests/4 | 2 ++ tests/5 | 2 ++ tests/6 | 1 + tests/7 | 1 + tests/8 | 1 + tests/9 | 2 ++ 40 files changed, 70 insertions(+) create mode 100644 tests/0 create mode 100644 tests/1 create mode 100644 tests/10 create mode 100644 tests/11 create mode 100644 tests/12 create mode 100644 tests/13 create mode 100644 tests/14 create mode 100644 tests/15 create mode 100644 tests/16 create mode 100644 tests/17 create mode 100644 tests/18 create mode 100644 tests/19 create mode 100644 tests/2 create mode 100644 tests/20 create mode 100644 tests/21 create mode 100644 tests/22 create mode 100644 tests/23 create mode 100644 tests/24 create mode 100644 tests/25 create mode 100644 tests/26 create mode 100644 tests/27 create mode 100644 tests/28 create mode 100644 tests/29 create mode 100644 tests/3 create mode 100644 tests/30 create mode 100644 tests/31 create mode 100644 tests/32 create mode 100644 tests/33 create mode 100644 tests/34 create mode 100644 tests/35 create mode 100644 tests/36 create mode 100644 tests/37 create mode 100644 tests/38 create mode 100644 tests/39 create mode 100644 tests/4 create mode 100644 tests/5 create mode 100644 tests/6 create mode 100644 tests/7 create mode 100644 tests/8 create mode 100644 tests/9 (limited to 'tests') diff --git a/tests/0 b/tests/0 new file mode 100644 index 0000000..e69de29 diff --git a/tests/1 b/tests/1 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/1 @@ -0,0 +1 @@ + diff --git a/tests/10 b/tests/10 new file mode 100644 index 0000000..a5b8098 --- /dev/null +++ b/tests/10 @@ -0,0 +1,2 @@ +x//y +z diff --git a/tests/11 b/tests/11 new file mode 100644 index 0000000..b4d07ff --- /dev/null +++ b/tests/11 @@ -0,0 +1 @@ +/* x */ diff --git a/tests/12 b/tests/12 new file mode 100644 index 0000000..5d10bae --- /dev/null +++ b/tests/12 @@ -0,0 +1 @@ +x/* y */ diff --git a/tests/13 b/tests/13 new file mode 100644 index 0000000..54d7eb2 --- /dev/null +++ b/tests/13 @@ -0,0 +1,2 @@ +x/* y */ +x diff --git a/tests/14 b/tests/14 new file mode 100644 index 0000000..80d4ce8 --- /dev/null +++ b/tests/14 @@ -0,0 +1 @@ +/* x */y diff --git a/tests/15 b/tests/15 new file mode 100644 index 0000000..79beb60 --- /dev/null +++ b/tests/15 @@ -0,0 +1 @@ +/* x *//* y */ diff --git a/tests/16 b/tests/16 new file mode 100644 index 0000000..ad5f298 --- /dev/null +++ b/tests/16 @@ -0,0 +1 @@ +/*x*///y diff --git a/tests/17 b/tests/17 new file mode 100644 index 0000000..67d8a7f --- /dev/null +++ b/tests/17 @@ -0,0 +1 @@ +/*x*//y diff --git a/tests/18 b/tests/18 new file mode 100644 index 0000000..287548a --- /dev/null +++ b/tests/18 @@ -0,0 +1 @@ +/* x \*/ diff --git a/tests/19 b/tests/19 new file mode 100644 index 0000000..92272fb --- /dev/null +++ b/tests/19 @@ -0,0 +1 @@ +\/* x */ diff --git a/tests/2 b/tests/2 new file mode 100644 index 0000000..587be6b --- /dev/null +++ b/tests/2 @@ -0,0 +1 @@ +x diff --git a/tests/20 b/tests/20 new file mode 100644 index 0000000..5b547a5 --- /dev/null +++ b/tests/20 @@ -0,0 +1 @@ +\// diff --git a/tests/21 b/tests/21 new file mode 100644 index 0000000..ecd2475 --- /dev/null +++ b/tests/21 @@ -0,0 +1 @@ +\/ * diff --git a/tests/22 b/tests/22 new file mode 100644 index 0000000..3acbcec --- /dev/null +++ b/tests/22 @@ -0,0 +1 @@ +/* x */ */ diff --git a/tests/23 b/tests/23 new file mode 100644 index 0000000..f714113 --- /dev/null +++ b/tests/23 @@ -0,0 +1 @@ +/* x "*/" */ diff --git a/tests/24 b/tests/24 new file mode 100644 index 0000000..6cd8dff --- /dev/null +++ b/tests/24 @@ -0,0 +1 @@ +/* x '*/' */ diff --git a/tests/25 b/tests/25 new file mode 100644 index 0000000..9350792 --- /dev/null +++ b/tests/25 @@ -0,0 +1,3 @@ +/* +x +*/ diff --git a/tests/26 b/tests/26 new file mode 100644 index 0000000..24f012c --- /dev/null +++ b/tests/26 @@ -0,0 +1,3 @@ +"/* +x +*/" diff --git a/tests/27 b/tests/27 new file mode 100644 index 0000000..32dc19f --- /dev/null +++ b/tests/27 @@ -0,0 +1,3 @@ +'/* +x +*/' diff --git a/tests/28 b/tests/28 new file mode 100644 index 0000000..43a0b9a --- /dev/null +++ b/tests/28 @@ -0,0 +1,3 @@ +"\"/* +x +*/ diff --git a/tests/29 b/tests/29 new file mode 100644 index 0000000..7dd24bf --- /dev/null +++ b/tests/29 @@ -0,0 +1,3 @@ +'\'/* +x +*/ diff --git a/tests/3 b/tests/3 new file mode 100644 index 0000000..06d5f3d --- /dev/null +++ b/tests/3 @@ -0,0 +1,3 @@ + {}() []; + +; diff --git a/tests/30 b/tests/30 new file mode 100644 index 0000000..c739847 --- /dev/null +++ b/tests/30 @@ -0,0 +1,3 @@ +" "/* +x +*/ diff --git a/tests/31 b/tests/31 new file mode 100644 index 0000000..2ebd547 --- /dev/null +++ b/tests/31 @@ -0,0 +1,3 @@ +' '/* +x +*/ diff --git a/tests/32 b/tests/32 new file mode 100644 index 0000000..8470c9c --- /dev/null +++ b/tests/32 @@ -0,0 +1,3 @@ +'"'/* +x +*/ diff --git a/tests/33 b/tests/33 new file mode 100644 index 0000000..8782f15 --- /dev/null +++ b/tests/33 @@ -0,0 +1,3 @@ +"'"/* +x +*/ diff --git a/tests/34 b/tests/34 new file mode 100644 index 0000000..85bf9aa --- /dev/null +++ b/tests/34 @@ -0,0 +1,3 @@ +" + +" diff --git a/tests/35 b/tests/35 new file mode 100644 index 0000000..8e38ed0 --- /dev/null +++ b/tests/35 @@ -0,0 +1,3 @@ +' + +' diff --git a/tests/36 b/tests/36 new file mode 100644 index 0000000..1e6f762 --- /dev/null +++ b/tests/36 @@ -0,0 +1,3 @@ +x + +x diff --git a/tests/37 b/tests/37 new file mode 100644 index 0000000..1bc266d --- /dev/null +++ b/tests/37 @@ -0,0 +1 @@ +/* // */ x diff --git a/tests/38 b/tests/38 new file mode 100644 index 0000000..50da1b9 --- /dev/null +++ b/tests/38 @@ -0,0 +1 @@ +// /* */ x diff --git a/tests/39 b/tests/39 new file mode 100644 index 0000000..e5409e8 --- /dev/null +++ b/tests/39 @@ -0,0 +1 @@ +/**//**/x diff --git a/tests/4 b/tests/4 new file mode 100644 index 0000000..b77b4eb --- /dev/null +++ b/tests/4 @@ -0,0 +1,2 @@ +x +y diff --git a/tests/5 b/tests/5 new file mode 100644 index 0000000..d15422a --- /dev/null +++ b/tests/5 @@ -0,0 +1,2 @@ +x\ +y diff --git a/tests/6 b/tests/6 new file mode 100644 index 0000000..c1b0730 --- /dev/null +++ b/tests/6 @@ -0,0 +1 @@ +x \ No newline at end of file diff --git a/tests/7 b/tests/7 new file mode 100644 index 0000000..83e9c4b --- /dev/null +++ b/tests/7 @@ -0,0 +1 @@ +//x diff --git a/tests/8 b/tests/8 new file mode 100644 index 0000000..79f7cfe --- /dev/null +++ b/tests/8 @@ -0,0 +1 @@ +x//x diff --git a/tests/9 b/tests/9 new file mode 100644 index 0000000..d1ed66e --- /dev/null +++ b/tests/9 @@ -0,0 +1,2 @@ +x//y\ +z -- cgit v1.2.3-70-g09d2