aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/cpp/x.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx')
-rw-r--r--lexilla/test/examples/cpp/x.cxx7
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");
}