diff --git a/compiler/testData/checkerWithErrorTypes/quick/IncorrectCharacterLiterals.jet b/compiler/testData/checkerWithErrorTypes/quick/IncorrectCharacterLiterals.jet index e115b7ca23c..fcc34e9e44f 100644 --- a/compiler/testData/checkerWithErrorTypes/quick/IncorrectCharacterLiterals.jet +++ b/compiler/testData/checkerWithErrorTypes/quick/IncorrectCharacterLiterals.jet @@ -1,6 +1,23 @@ // http://youtrack.jetbrains.net/issue/KT-451 +// KT-451 Incorrect character literals cause assertion failures fun ff() { val b = '' val c = '23' } + +fun test() { + 'a' + '\n' + '\t' + '\b' + '\r' + '\"' + '\'' + '\\' + '\$' + '\x' + '\123' + '\ra' + '\000' +} \ No newline at end of file