]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: avoid spurious failure in 'suffix3.tap'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 16 Feb 2012 10:31:55 +0000 (11:31 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 16 Feb 2012 10:34:55 +0000 (11:34 +0100)
* tests/suffix3.tap (foo.zoo): This C++ file fails to compile with
older g++ (3.4.4) on Cygwin 1.5.25 if we #include <iostream>.  Don't
do that, since it's not strictly required, and the "using namespace"
directive is already enough to ensure the file contents is valid C++
but invalid C.

tests/suffix3.tap

index 092ea9f57756c2cd115c8bca80a8d460b4ca62ec..3613480a283e86efec182981fa529135b81f535b 100755 (executable)
@@ -56,7 +56,6 @@ command_ok_ "configure" ./configure
 
 # This is deliberately valid C++, but invalid C.
 cat > foo.zoo <<'END'
-#include <iostream>
 using namespace std;
 INTEGER main (void)
 {