diff options
author | Neil <nyamatongwe@gmail.com> | 2019-12-14 08:17:00 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-12-14 08:17:00 +1100 |
commit | 4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9 (patch) | |
tree | c2cb66991d89802a7a8b18bde9aa486da5fc9614 /lexilla/test/examples/cpp/x.cxx | |
parent | 651e4b440ad3019a63b10d972ee36a296020e2c8 (diff) | |
download | scintilla-mirror-4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9.tar.gz |
Lexilla tests.
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx')
-rw-r--r-- | lexilla/test/examples/cpp/x.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lexilla/test/examples/cpp/x.cxx b/lexilla/test/examples/cpp/x.cxx new file mode 100644 index 000000000..384997072 --- /dev/null +++ b/lexilla/test/examples/cpp/x.cxx @@ -0,0 +1,16 @@ +// A demonstration program +#include <stdio.h> +#if 0 /* */ +#define DUMMY() \ + if (1); +#endif + +#define M\ + +\ + +int main() { + double x[] = {3.14159,6.02e23,1.6e-19,1.0+1}; + int y[] = {75,0113,0x4b}; + printf("hello world %d %g\n", y[0], x[0]); +} |