diff options
author | Bill Wendling <wendling@apple.com> | 2006-10-13 18:38:24 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-10-13 18:38:24 +0000 |
commit | 1453564b3e4f12b7fd27a500880ba00adb0727f1 (patch) | |
tree | aca0699d08b26f791a76813b0e83be7a46d54ec9 /gcc/testsuite/g++.old-deja | |
parent | cdfd6b4b9bc1eaded51afe6711b934948b5909d3 (diff) | |
download | gcc-1453564b3e4f12b7fd27a500880ba00adb0727f1.zip gcc-1453564b3e4f12b7fd27a500880ba00adb0727f1.tar.gz gcc-1453564b3e4f12b7fd27a500880ba00adb0727f1.tar.bz2 |
scope5.C: Changed "Class" to "Klasse".
* g++.old-deja/g++.brendan/scope5.C: Changed "Class" to "Klasse".
* g++.old-deja/g++.jason/hmc1.C: Likewise.
* g++.old-deja/g++.jason/cleanup2.C: Likewise.
* g++.old-deja/g++.law/shadow1.C: Likewise.
* g++.old-deja/g++.law/ctors10.C: Likewise.
* g++.dg/debug/namespace1.C: Likewise.
* g++.dg/inherit/namespace-as-base.C: Likewise.
* g++.dg/opt/delay-slot-1.C: Likewise.
* g++.dg/parse/defarg10.C: Likewise.
* g++.dg/template/ptrmem11.C: Likewise.
* g++.dg/template/mem_func_ptr.C: Likewise.
* g++.dg/template/spec19.C: Likewise.
From-SVN: r117702
Diffstat (limited to 'gcc/testsuite/g++.old-deja')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/scope5.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/cleanup2.C | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/hmc1.C | 8 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.law/ctors10.C | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.law/shadow1.C | 6 |
5 files changed, 13 insertions, 13 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/scope5.C b/gcc/testsuite/g++.old-deja/g++.brendan/scope5.C index 3ae9f8b..1b6345f 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/scope5.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/scope5.C @@ -6,7 +6,7 @@ public: }; class Type { - enum Class { ENUM, INTEGER }; + enum Klasse { ENUM, INTEGER }; class Description { public: diff --git a/gcc/testsuite/g++.old-deja/g++.jason/cleanup2.C b/gcc/testsuite/g++.old-deja/g++.jason/cleanup2.C index 2590bcb..5b93393 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/cleanup2.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/cleanup2.C @@ -2,14 +2,14 @@ // PRMS Id: 6303 // Bug: compiler crashes processing the cleanup for arrayOfClass. -class Class { +class Klasse { public: - ~Class(); // This dtor MUST be declared to generate the error... + ~Klasse(); // This dtor MUST be declared to generate the error... }; -Class varOfClass; +Klasse varOfClass; int main() { // This MUST be 'const' to generate the error... - const Class arrayOfClass[1] = { varOfClass }; // causes abort + const Klasse arrayOfClass[1] = { varOfClass }; // causes abort } diff --git a/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C b/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C index 52f3a4a..b023125 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/hmc1.C @@ -1,19 +1,19 @@ // { dg-do assemble } // GROUPS passed templates default-arguments template <class I> -class Class { +class Klasse { public: void func1(int n=1); void func2(int d) {} }; template <class I> -void Class<I>::func1(int n) {} +void Klasse<I>::func1(int n) {} //if this is replaced by: -//void Class<I>::func1(int n=1) {} +//void Klasse<I>::func1(int n=1) {} //the code compiles. int main() { - Class<int> C; + Klasse<int> C; return 0; } diff --git a/gcc/testsuite/g++.old-deja/g++.law/ctors10.C b/gcc/testsuite/g++.old-deja/g++.law/ctors10.C index 8b687480..cbf36cf 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/ctors10.C +++ b/gcc/testsuite/g++.old-deja/g++.law/ctors10.C @@ -8,7 +8,7 @@ #include <iostream> -class Class +class Klasse { class Err : public std::ostream { diff --git a/gcc/testsuite/g++.old-deja/g++.law/shadow1.C b/gcc/testsuite/g++.old-deja/g++.law/shadow1.C index b24fd73..d13dfe8 100644 --- a/gcc/testsuite/g++.old-deja/g++.law/shadow1.C +++ b/gcc/testsuite/g++.old-deja/g++.law/shadow1.C @@ -7,16 +7,16 @@ // Subject: GCC Bug.. // Date: Fri, 6 Nov 1992 10:27:10 -0700 -class Class +class Klasse { public: - Class(void); // constructor + Klasse(void); // constructor int Shadow(void); // member function private: long value; }; -Class::Class(void) +Klasse::Klasse(void) { value = 0; } |