aboutsummaryrefslogtreecommitdiff
path: root/src/cctest/namespace/cstdio-std:using-namespace-std.cc
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-09-29 15:50:55 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-09-29 15:50:55 +0000
commitf90849f3ccd99793b71eb19d9c8f9a8c5f628158 (patch)
tree932879d6af271c462a54021e54943c0c50b04a9c /src/cctest/namespace/cstdio-std:using-namespace-std.cc
parent2394f16091c390daad300f52276f44103baaf735 (diff)
new version of C++ namespace portability tests
-- test more different ways of organizing the code -- new naming scheme -- subdirectories to reduce file clutter git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@776 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/cctest/namespace/cstdio-std:using-namespace-std.cc')
-rw-r--r--src/cctest/namespace/cstdio-std:using-namespace-std.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cctest/namespace/cstdio-std:using-namespace-std.cc b/src/cctest/namespace/cstdio-std:using-namespace-std.cc
new file mode 100644
index 0000000..0fbf9c6
--- /dev/null
+++ b/src/cctest/namespace/cstdio-std:using-namespace-std.cc
@@ -0,0 +1,11 @@
+// $Header$
+
+#include <cstdio>
+using namespace std;
+
+int main()
+{
+printf("testing <cstdio> functions in std:: namespace:\n");
+printf("==> #include <cstdio>; using namespace std; printf() is ok\n");
+return 0;
+}