* 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>
cat > baz.h++ << 'END'
#include <iostream>
-using namespace std;
#include "baz2.hh"
END
#import "baz.h++"
int main (void)
{
- cout << MSG << "\n";
+ std::cout << MSG << "\n";
return 0;
}
END
/* The use of #import makes this valid Object C++ but invalid C++. */
#import <iostream>
#import <config.h>
-using namespace std;
int main (void)
{
- cout << "Success (" << PACKAGE_STRING << ")\n";
+ std::cout << "Success (" << PACKAGE_STRING << ")\n";
return 0;
}
END