diff options
author | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2006-12-29 11:01:45 +0000 |
---|---|---|
committer | Hans Ulrich Niedermann <gp@n-dimensional.de> | 2006-12-29 11:01:45 +0000 |
commit | e64144813f9282065dfbcc715ce91241febfbc57 (patch) | |
tree | 90e40e465c0057545d0e6bc1182479fc69a26e8f /tests/test-pedantic-compilation.cxx | |
parent | 3d5d0926292b8ff82dfcdc9459f4107b51857cb8 (diff) | |
download | libgphoto2-e64144813f9282065dfbcc715ce91241febfbc57.tar.gz |
make sure that the pedantic compilation tests work
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9768 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'tests/test-pedantic-compilation.cxx')
-rw-r--r-- | tests/test-pedantic-compilation.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-pedantic-compilation.cxx b/tests/test-pedantic-compilation.cxx index 92898219a..70bac2f2b 100644 --- a/tests/test-pedantic-compilation.cxx +++ b/tests/test-pedantic-compilation.cxx @@ -15,7 +15,12 @@ #include <gphoto2/gphoto2-port-result.h> #include <gphoto2/gphoto2-port-version.h> +#include <stdio.h> + +unsigned long cxx_version = __cplusplus; + int main() { + printf("cxx_version = %lu\n", cxx_version); return 0; } |