aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-03-25 20:40:47 +1100
committernyamatongwe <unknown>2012-03-25 20:40:47 +1100
commite04b15d7a4a547c18b7ce469ef4ac3b48c00ed56 (patch)
tree375142359aaa350a240eedd94c2976a65fc05498 /test/examples/x.cxx
parentc0cef50c42afa7fa5bb6a019c30ade651806e794 (diff)
downloadscintilla-mirror-e04b15d7a4a547c18b7ce469ef4ac3b48c00ed56.tar.gz
Avoid warnings from example code.
Diffstat (limited to 'test/examples/x.cxx')
-rw-r--r--test/examples/x.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/examples/x.cxx b/test/examples/x.cxx
index 3c90b5e56..811a4034a 100644
--- a/test/examples/x.cxx
+++ b/test/examples/x.cxx
@@ -7,5 +7,5 @@
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);
+ printf("hello world %d %g\n", y[0], x[0]);
}