summaryrefslogtreecommitdiffstats
path: root/src/tests/org/anarres/cpp
diff options
context:
space:
mode:
authorShevek <[email protected]>2011-01-20 10:10:08 +0000
committerShevek <[email protected]>2011-01-20 10:10:08 +0000
commit9aa50b21462d62fda5f268880fcf04f4b12eb469 (patch)
treea8cd81a212b0698ba3273072f76d15e0c3df4c8b /src/tests/org/anarres/cpp
parent29c8bac1720565c38520a30173526d4702203a14 (diff)
Add nested-comment test case
Diffstat (limited to 'src/tests/org/anarres/cpp')
-rw-r--r--src/tests/org/anarres/cpp/LexerSourceTestCase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/org/anarres/cpp/LexerSourceTestCase.java b/src/tests/org/anarres/cpp/LexerSourceTestCase.java
index 828ee9c..adb1862 100644
--- a/src/tests/org/anarres/cpp/LexerSourceTestCase.java
+++ b/src/tests/org/anarres/cpp/LexerSourceTestCase.java
@@ -61,6 +61,7 @@ public class LexerSourceTestCase extends BaseTestCase implements Test {
IDENTIFIER);
testLexerSource("/**/", CCOMMENT);
+ testLexerSource("/* /**/ */", CCOMMENT, WHITESPACE, '*', '/');
testLexerSource("/** ** **/", CCOMMENT);
testLexerSource("//* ** **/", CPPCOMMENT);
testLexerSource("'\\r' '\\xf' '\\xff' 'x' 'aa' ''",