diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-29 15:48:56 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-29 15:48:56 +0000 |
commit | 2394f16091c390daad300f52276f44103baaf735 (patch) | |
tree | 2f232e99418aa35023b3e2f9a5bd6486f1e0f961 /src/cctest | |
parent | a874ca63f2d68e54568e7c4041508cf460dafc02 (diff) |
move these all to new subdirectory namespace/
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@775 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/cctest')
-rw-r--r-- | src/cctest/README | 1 | ||||
-rw-r--r-- | src/cctest/makefile | 26 | ||||
-rw-r--r-- | src/cctest/namespace-cstdio-global.cc | 10 | ||||
-rw-r--r-- | src/cctest/namespace-cstdio-std.cc | 11 | ||||
-rw-r--r-- | src/cctest/namespace-stdio_h-global.cc | 10 | ||||
-rw-r--r-- | src/cctest/namespace-stdio_h-std.cc | 11 |
6 files changed, 0 insertions, 69 deletions
diff --git a/src/cctest/README b/src/cctest/README deleted file mode 100644 index f25612d..0000000 --- a/src/cctest/README +++ /dev/null @@ -1 +0,0 @@ -This directory contains test programs for various C++ compiler features. diff --git a/src/cctest/makefile b/src/cctest/makefile deleted file mode 100644 index a037116..0000000 --- a/src/cctest/makefile +++ /dev/null @@ -1,26 +0,0 @@ -# Makefile to test various C/C++ compiler features -# -# Targets: -# namespace test namespace handling for <stdio.h> vs <cstdio> -# functions in global vs std:: namespace -# namespace-clean remove binaries from 'make namespace' -# -# Arguments: -# CXX how to invoke the C++ compiler, including any desired flags -# - -# default setting, may be overridden from command line -CXX := gcc -W -Wall -pedantic -ansi - -namespace : - -$(CXX) -o namespace-stdio_h-global namespace-stdio_h-global.cc - -./namespace-stdio_h-global - -$(CXX) -o namespace-stdio_h-std namespace-stdio_h-std.cc - -./namespace-stdio_h-std - -$(CXX) -o namespace-cstdio-global namespace-cstdio-global.cc - -./namespace-cstdio-global - -$(CXX) -o namespace-cstdio-std namespace-cstdio-std.cc - -./namespace-cstdio-std -namespace-clean : - -rm -f namespace-stdio_h-global namespace-stdio_h-std \ - namespace-cstdio-global namespace-cstdio-std diff --git a/src/cctest/namespace-cstdio-global.cc b/src/cctest/namespace-cstdio-global.cc deleted file mode 100644 index 6f42ea3..0000000 --- a/src/cctest/namespace-cstdio-global.cc +++ /dev/null @@ -1,10 +0,0 @@ -// namespace-cstdio-global.cc -- test <cstdio> functions in global:: namespace -// $Header$ - -#include <cstdio> - -int main() -{ -printf("==> THIS SHOULD FAIL: <cstdio> fns in global namespace are ok\n"); -return 0; -} diff --git a/src/cctest/namespace-cstdio-std.cc b/src/cctest/namespace-cstdio-std.cc deleted file mode 100644 index 3f7d207..0000000 --- a/src/cctest/namespace-cstdio-std.cc +++ /dev/null @@ -1,11 +0,0 @@ -// namespace-cstdio-std.cc -- test <cstdio> functions in std:: namespace -// $Header$ - -#include <cstdio> -using std::printf; - -int main() -{ -printf("==> <cstdio> fns in std:: namespace are ok\n"); -return 0; -} diff --git a/src/cctest/namespace-stdio_h-global.cc b/src/cctest/namespace-stdio_h-global.cc deleted file mode 100644 index 675efac..0000000 --- a/src/cctest/namespace-stdio_h-global.cc +++ /dev/null @@ -1,10 +0,0 @@ -// namespace-stdio_h-global.cc -- test <stdio.h> functions in global namespace -// $Header$ - -#include <stdio.h> - -int main() -{ -printf("==> <stdio.h> fns in the global namespace are ok\n"); -return 0; -} diff --git a/src/cctest/namespace-stdio_h-std.cc b/src/cctest/namespace-stdio_h-std.cc deleted file mode 100644 index 071e6d9..0000000 --- a/src/cctest/namespace-stdio_h-std.cc +++ /dev/null @@ -1,11 +0,0 @@ -// namespace-stdio_h-std.cc -- test <stdio.h> functions in std:: namespace -// $Header$ - -#include <stdio.h> -using std::printf; - -int main() -{ -printf("==> <stdio.h> fns in the std:: namespace are ok\n"); -return 0; -} |