diff options
author | nyamatongwe <unknown> | 2010-09-04 11:42:59 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-09-04 11:42:59 +1000 |
commit | c2c0e752e0ceffad06d51a472838d18eedc6ed4f (patch) | |
tree | 6c52c01e5d1ef0e770c8b07f49f1ac98dd3e2ea2 /test/examples/x.cxx | |
parent | bb19b403219ae9a22204a29320293860ac77ff8c (diff) | |
download | scintilla-mirror-c2c0e752e0ceffad06d51a472838d18eedc6ed4f.tar.gz |
Fix for bug #3058924 wrong highlighting for float literals containing +/-.
Tests added for example numeric literals.
Diffstat (limited to 'test/examples/x.cxx')
-rw-r--r-- | test/examples/x.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/examples/x.cxx b/test/examples/x.cxx index 255a70e7c..fee6893a6 100644 --- a/test/examples/x.cxx +++ b/test/examples/x.cxx @@ -1,4 +1,7 @@ // A demonstration program +#include <stdio.h> int main() { + double x[] = {3.14159,6.02e23,1.6e-19,1.0+1}; + int y[] = {75,0113,0x4b}; printf("hello world %d\n", 9); } |