summaryrefslogtreecommitdiff
path: root/t/objcxx-deps.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-05-04 18:09:02 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-05-04 18:14:36 +0200
commit7f3f467aab0184dedddca2b5c6edd48dab6303db (patch)
treea31cca453e79cfe53c638c7e8350739f12c2328c /t/objcxx-deps.sh
parent1e8526488f16c127e89ccd8be0df1bd33076c351 (diff)
downloadautomake-7f3f467aab0184dedddca2b5c6edd48dab6303db.tar.gz
maintcheck: avoid a couple of spurious failures
* t/objcxx-deps.sh, t/objcxx-minidemo.sh: In C++ files, use "std::cout <<", not "cout <<", to avoid triggering a spurious failure by the syntax check 'sc_tests_here_document_format'. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/objcxx-deps.sh')
-rwxr-xr-xt/objcxx-deps.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/objcxx-deps.sh b/t/objcxx-deps.sh
index 24665cca1..782193ac7 100755
--- a/t/objcxx-deps.sh
+++ b/t/objcxx-deps.sh
@@ -33,7 +33,6 @@ END
cat > baz.h++ << 'END'
#include <iostream>
-using namespace std;
#include "baz2.hh"
END
@@ -46,7 +45,7 @@ cat > bar.mm << 'END'
#import "baz.h++"
int main (void)
{
- cout << MSG << "\n";
+ std::cout << MSG << "\n";
return 0;
}
END