aboutsummaryrefslogtreecommitdiff
path: root/src/cctest/namespace/cstdio-global.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-global.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-global.cc')
-rw-r--r--src/cctest/namespace/cstdio-global.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cctest/namespace/cstdio-global.cc b/src/cctest/namespace/cstdio-global.cc
new file mode 100644
index 0000000..60b04c7
--- /dev/null
+++ b/src/cctest/namespace/cstdio-global.cc
@@ -0,0 +1,10 @@
+// $Header$
+
+#include <cstdio>
+
+int main()
+{
+printf("testing <cstdio> functions in global namespace (THIS SHOULD FAIL):\n");
+printf("==> #include <cstdio>; printf() is ok (THIS SHOULD FAIL)\n");
+return 0;
+}