aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java')
-rw-r--r--src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java b/src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java
index 99324ff..4283073 100644
--- a/src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java
+++ b/src/test/java/com/jogamp/gluegen/jcpp/LexerSourceTest.java
@@ -144,4 +144,9 @@ public class LexerSourceTest extends SingletonJunitCase {
testLexerSource("5 /*", false, NUMBER, WHITESPACE, INVALID); // Bug #15
testLexerSource("5 //", false, NUMBER, WHITESPACE, CPPCOMMENT);
}
+
+ @Test
+ public void testUnicode()throws Exception{
+ testLexerSource("foo \u2018bar\u2019 baz", true, IDENTIFIER, WHITESPACE, 8216, IDENTIFIER, 8217, WHITESPACE, IDENTIFIER);
+ }
}