diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 22:02:57 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-09-02 22:02:57 (GMT) |
commit | d26cd46989b4e1170cbebc97ae3b6b30395158db (patch) | |
tree | a10cf2510b18cb3344964a97baa2020305ca747c /Tests/CxxOnly/cxxonly.cxx | |
parent | ced61f5722d65525fd4b8dbf96d5ea8f254099c2 (diff) | |
download | CMake-d26cd46989b4e1170cbebc97ae3b6b30395158db.zip CMake-d26cd46989b4e1170cbebc97ae3b6b30395158db.tar.gz CMake-d26cd46989b4e1170cbebc97ae3b6b30395158db.tar.bz2 |
Only use .CPP .CXX and .C++ do not work by default with g+++.
Diffstat (limited to 'Tests/CxxOnly/cxxonly.cxx')
-rw-r--r-- | Tests/CxxOnly/cxxonly.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/CxxOnly/cxxonly.cxx b/Tests/CxxOnly/cxxonly.cxx index 2996e65..bd4fd59 100644 --- a/Tests/CxxOnly/cxxonly.cxx +++ b/Tests/CxxOnly/cxxonly.cxx @@ -1,14 +1,12 @@ #include "libcxx1.h" #include "libcxx2.h" extern int testCPP; -extern int testCXX; -extern int testCplusplus; #include <stdio.h> int main () { - testCPP = testCXX= testCplusplus = 1; + testCPP = 1; if ( LibCxx1Class::Method() != 2.0 ) { printf("Problem with libcxx1\n"); |