diff options
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]); +} |