aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2012-03-25 20:40:47 +1100
committernyamatongwe <devnull@localhost>2012-03-25 20:40:47 +1100
commitef17ad905b7fcdc361e17e59e929352377cb0768 (patch)
tree0fa700030a2021615efe9e86374bd54b474f5f3c /test/examples/x.cxx
parenta54e15f9554d35a41d904fd4799e7aecbcfc95af (diff)
downloadscintilla-mirror-ef17ad905b7fcdc361e17e59e929352377cb0768.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]);
}