summaryrefslogtreecommitdiffstats
path: root/Tests/CxxOnly/cxxonly.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-14 19:05:09 (GMT)
committerBrad King <brad.king@kitware.com>2010-09-14 19:05:09 (GMT)
commiteccc7d5d267d7dc4eab027fab54ef4e7a63c8d4f (patch)
treeb0ab46080ec15fc066b57f0606d70fb9fc9756b4 /Tests/CxxOnly/cxxonly.cxx
parented37fc3ea398b03bbba175ae337f14b6af58daee (diff)
parent7944e4e0ac37cb1423da2de7a203557b77372aac (diff)
downloadCMake-eccc7d5d267d7dc4eab027fab54ef4e7a63c8d4f.zip
CMake-eccc7d5d267d7dc4eab027fab54ef4e7a63c8d4f.tar.gz
CMake-eccc7d5d267d7dc4eab027fab54ef4e7a63c8d4f.tar.bz2
Merge branch 'allow_upper_case_cpp_and_others' into resolve/fix_target_name_with_dot_vs10/allow_upper_case_cpp_and_others
Conflicts: Tests/CxxOnly/CMakeLists.txt
Diffstat (limited to 'Tests/CxxOnly/cxxonly.cxx')
-rw-r--r--Tests/CxxOnly/cxxonly.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CxxOnly/cxxonly.cxx b/Tests/CxxOnly/cxxonly.cxx
index bd4fd59..9cf6f2d 100644
--- a/Tests/CxxOnly/cxxonly.cxx
+++ b/Tests/CxxOnly/cxxonly.cxx
@@ -1,12 +1,16 @@
#include "libcxx1.h"
#include "libcxx2.h"
+#ifdef _MSC_VER
extern int testCPP;
+#endif
#include <stdio.h>
int main ()
{
+#ifdef _MSC_VER
testCPP = 1;
+#endif
if ( LibCxx1Class::Method() != 2.0 )
{
printf("Problem with libcxx1\n");