aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/cpp/x.cxx.styled
diff options
context:
space:
mode:
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx.styled')
-rw-r--r--lexilla/test/examples/cpp/x.cxx.styled7
1 files changed, 7 insertions, 0 deletions
diff --git a/lexilla/test/examples/cpp/x.cxx.styled b/lexilla/test/examples/cpp/x.cxx.styled
index c269ed1b4..e4241eba2 100644
--- a/lexilla/test/examples/cpp/x.cxx.styled
+++ b/lexilla/test/examples/cpp/x.cxx.styled
@@ -17,4 +17,11 @@
{2}// JavaScript regular expression (14) tests
{0} {5}let{0} {11}a{0} {10}={0} {14}/a/{10};{0}
{5}let{0} {11}b{0} {10}={0} {14}/[a-z]+/gi{10};{0}
+
+ {2}// Escape sequence (27) tests
+{0} {11}printf{10}({6}"{27}\'\"\?\\\a\b\f\n\r\t\v{6} {27}\P{6}"{10});{0}
+ {11}printf{10}({6}"{27}\0{6}a {27}\013{6}a {27}\01{6}9"{10});{0}
+ {11}printf{10}({6}"{27}\x013a{6}c {27}\xd{6}z"{10});{0}
+ {11}printf{10}({6}"{27}\ua34d{6}f {27}\u{6}z"{10});{0}
+ {11}printf{10}({6}"{27}\Ua34df783{6}3 {27}\U{6}z"{10});{0}
{10}}{0}