From f20fa756d3d1458ee3edcd5c0ade6d9934ee9ca3 Mon Sep 17 00:00:00 2001 From: Romain Garrigues <romain.garrigues@c-s.fr> Date: Mon, 17 Jul 2006 12:11:43 +0000 Subject: [PATCH] nomsg --- CMake/otbTestCompareTypes.cxx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 CMake/otbTestCompareTypes.cxx diff --git a/CMake/otbTestCompareTypes.cxx b/CMake/otbTestCompareTypes.cxx new file mode 100755 index 0000000000..212e54c9bf --- /dev/null +++ b/CMake/otbTestCompareTypes.cxx @@ -0,0 +1,27 @@ +/*========================================================================= + + Program: Orfeo Toolbox + Module: $RCSfile: otbTestCompareTypes.cxx,v $ + Language: C++ + Date: $Date: 2006/07/10 15:31:11 $ + Version: $Revision: 1.1 $ + + Copyright (c) Orfeo Toolbox. All rights reserved. + See OTBCopyright.txt for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ +typedef OTB_TEST_COMPARE_TYPE_1 Type1; +typedef OTB_TEST_COMPARE_TYPE_2 Type2; + +void function(Type1**) {} + +int main() +{ + Type2** p = 0; + function(p); + return 0; +} -- GitLab