aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/cpp/x.cxx.styled
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-14 08:17:00 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-14 08:17:00 +1100
commit4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9 (patch)
treec2cb66991d89802a7a8b18bde9aa486da5fc9614 /lexilla/test/examples/cpp/x.cxx.styled
parent651e4b440ad3019a63b10d972ee36a296020e2c8 (diff)
downloadscintilla-mirror-4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9.tar.gz
Lexilla tests.
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx.styled')
-rw-r--r--lexilla/test/examples/cpp/x.cxx.styled16
1 files changed, 16 insertions, 0 deletions
diff --git a/lexilla/test/examples/cpp/x.cxx.styled b/lexilla/test/examples/cpp/x.cxx.styled
new file mode 100644
index 000000000..b602717a5
--- /dev/null
+++ b/lexilla/test/examples/cpp/x.cxx.styled
@@ -0,0 +1,16 @@
+{2}// A demonstration program
+{9}#include <stdio.h>
+#if 0 {23}/* */{9}
+{73}#define DUMMY() \
+ if (1);
+{9}#endif
+{0}
+{9}#define M\
+
+{0}\
+
+{5}int{0} {11}main{10}(){0} {10}{{0}
+ {11}double{0} {11}x{10}[]{0} {10}={0} {10}{{4}3.14159{10},{4}6.02e23{10},{4}1.6e-19{10},{4}1.0{10}+{4}1{10}};{0}
+ {5}int{0} {11}y{10}[]{0} {10}={0} {10}{{4}75{10},{4}0113{10},{4}0x4b{10}};{0}
+ {11}printf{10}({6}"hello world %d %g\n"{10},{0} {11}y{10}[{4}0{10}],{0} {11}x{10}[{4}0{10}]);{0}
+{10}}{0}