diff options
author | Neil <nyamatongwe@gmail.com> | 2020-04-13 08:06:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-04-13 08:06:56 +1000 |
commit | 98fba9dcdd0b734e0788de4d731bd3dcf5ee9fc0 (patch) | |
tree | c3a81410095a73a45756f6b26f6b7ea3a24e797e /lexilla/test/examples/cpp/x.cxx | |
parent | 1769cc3907d3f06254053ab76bd9e827417f07cf (diff) | |
download | scintilla-mirror-98fba9dcdd0b734e0788de4d731bd3dcf5ee9fc0.tar.gz |
Hide implementation of EscapeSequence and use const. Add tests for escape
sequences.
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx')
-rw-r--r-- | lexilla/test/examples/cpp/x.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lexilla/test/examples/cpp/x.cxx b/lexilla/test/examples/cpp/x.cxx index 8e42167b2..c1f052882 100644 --- a/lexilla/test/examples/cpp/x.cxx +++ b/lexilla/test/examples/cpp/x.cxx @@ -17,4 +17,11 @@ int main() { // JavaScript regular expression (14) tests let a = /a/; let b = /[a-z]+/gi; + + // Escape sequence (27) tests + printf("\'\"\?\\\a\b\f\n\r\t\v \P"); + printf("\0a \013a \019"); + printf("\x013ac \xdz"); + printf("\ua34df \uz"); + printf("\Ua34df7833 \Uz"); } |