aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBill Wendling <wendling@apple.com>2006-10-13 18:38:24 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-10-13 18:38:24 +0000
commit1453564b3e4f12b7fd27a500880ba00adb0727f1 (patch)
treeaca0699d08b26f791a76813b0e83be7a46d54ec9 /gcc
parentcdfd6b4b9bc1eaded51afe6711b934948b5909d3 (diff)
downloadgcc-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')
-rw-r--r--gcc/testsuite/ChangeLog15
-rw-r--r--gcc/testsuite/g++.dg/debug/namespace1.C6
-rw-r--r--gcc/testsuite/g++.dg/inherit/namespace-as-base.C2
-rw-r--r--gcc/testsuite/g++.dg/opt/delay-slot-1.C18
-rw-r--r--gcc/testsuite/g++.dg/parse/defarg10.C2
-rw-r--r--gcc/testsuite/g++.dg/template/mem_func_ptr.C24
-rw-r--r--gcc/testsuite/g++.dg/template/ptrmem11.C4
-rw-r--r--gcc/testsuite/g++.dg/template/spec19.C10
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/scope5.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/cleanup2.C8
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/hmc1.C8
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/ctors10.C2
-rw-r--r--gcc/testsuite/g++.old-deja/g++.law/shadow1.C6
13 files changed, 61 insertions, 46 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bd4013b..b18ddd9 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,18 @@
+2006-10-13 Bill Wendling <wendling@apple.com>
+
+ * 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.
+
2006-10-13 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/simd-5.c, gcc.dg/simd-6: New testcases.
diff --git a/gcc/testsuite/g++.dg/debug/namespace1.C b/gcc/testsuite/g++.dg/debug/namespace1.C
index c1954d6..6629efb 100644
--- a/gcc/testsuite/g++.dg/debug/namespace1.C
+++ b/gcc/testsuite/g++.dg/debug/namespace1.C
@@ -29,7 +29,7 @@ namespace BBB {
char xyzq (char);
};
- class Class {
+ class Klasse {
public:
char xyzq (char);
int dummy;
@@ -62,7 +62,7 @@ char BBB::CCC::xyzq (char c)
return 'z';
}
-char BBB::Class::xyzq (char c)
+char BBB::Klasse::xyzq (char c)
{
return 'o';
}
@@ -248,7 +248,7 @@ int main ()
y = AAA::A_xyzq (33);
y += B_xyzq (44);
- BBB::Class cl;
+ BBB::Klasse cl;
c1 = cl.xyzq('e');
diff --git a/gcc/testsuite/g++.dg/inherit/namespace-as-base.C b/gcc/testsuite/g++.dg/inherit/namespace-as-base.C
index 269c4f2..041c18a 100644
--- a/gcc/testsuite/g++.dg/inherit/namespace-as-base.C
+++ b/gcc/testsuite/g++.dg/inherit/namespace-as-base.C
@@ -5,5 +5,5 @@ namespace Out {
}
}
-class Class : public Out::In { // { dg-error ".*" "" }
+class Klasse : public Out::In { // { dg-error ".*" "" }
};
diff --git a/gcc/testsuite/g++.dg/opt/delay-slot-1.C b/gcc/testsuite/g++.dg/opt/delay-slot-1.C
index e180e48..d435873 100644
--- a/gcc/testsuite/g++.dg/opt/delay-slot-1.C
+++ b/gcc/testsuite/g++.dg/opt/delay-slot-1.C
@@ -85,7 +85,7 @@ inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
{ return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
-class Class {
+class Klasse {
public:
void vf0c() const;
void vf1c(const int&) const;
@@ -93,19 +93,19 @@ public:
int main()
{
- Class obj;
- const Class& objc = obj;
+ Klasse obj;
+ const Klasse& objc = obj;
- mem_fun(&Class::vf0c)(&objc);
- mem_fun(&Class::vf1c)(&objc, 1);
+ mem_fun(&Klasse::vf0c)(&objc);
+ mem_fun(&Klasse::vf1c)(&objc, 1);
- mem_fun_ref(&Class::vf0c)(objc);
- mem_fun_ref(&Class::vf1c)(objc, 1);
+ mem_fun_ref(&Klasse::vf0c)(objc);
+ mem_fun_ref(&Klasse::vf1c)(objc, 1);
return 0;
}
-void Class::vf0c() const
+void Klasse::vf0c() const
{}
-void Class::vf1c(const int&) const
+void Klasse::vf1c(const int&) const
{}
diff --git a/gcc/testsuite/g++.dg/parse/defarg10.C b/gcc/testsuite/g++.dg/parse/defarg10.C
index ca228ac..bbf9ac0 100644
--- a/gcc/testsuite/g++.dg/parse/defarg10.C
+++ b/gcc/testsuite/g++.dg/parse/defarg10.C
@@ -5,7 +5,7 @@
void Foo (int = 0);
-class Class
+class Klasse
{
friend void Foo (int);
};
diff --git a/gcc/testsuite/g++.dg/template/mem_func_ptr.C b/gcc/testsuite/g++.dg/template/mem_func_ptr.C
index bcdda5c..7d912e2 100644
--- a/gcc/testsuite/g++.dg/template/mem_func_ptr.C
+++ b/gcc/testsuite/g++.dg/template/mem_func_ptr.C
@@ -1,33 +1,33 @@
// { dg-do compile }
template<typename T> struct takes_member_ptr;
-template<typename T, typename Class> struct takes_member_ptr<T Class::*> {};
+template<typename T, typename Klasse> struct takes_member_ptr<T Klasse::*> {};
-template<typename T, typename Class>
-void fun_takes_member_ptr(T Class::*) {}
+template<typename T, typename Klasse>
+void fun_takes_member_ptr(T Klasse::*) {}
template<typename T> struct order_member_ptrs;
-template<typename T, typename Class> struct order_member_ptrs<T Class::*> {};
-template<typename R, typename T1, typename Class>
- struct order_member_ptrs<R (Class::*)(T1)>
+template<typename T, typename Klasse> struct order_member_ptrs<T Klasse::*> {};
+template<typename R, typename T1, typename Klasse>
+ struct order_member_ptrs<R (Klasse::*)(T1)>
{
typedef int type;
};
-template<typename R, typename T1, typename Class>
- struct order_member_ptrs<R (Class::*)(T1) const>
+template<typename R, typename T1, typename Klasse>
+ struct order_member_ptrs<R (Klasse::*)(T1) const>
{
typedef int c_type;
};
-template<typename R, typename T1, typename Class>
- struct order_member_ptrs<R (Class::*)(T1) volatile>
+template<typename R, typename T1, typename Klasse>
+ struct order_member_ptrs<R (Klasse::*)(T1) volatile>
{
typedef int v_type;
};
-template<typename R, typename T1, typename Class>
- struct order_member_ptrs<R (Class::*)(T1) const volatile>
+template<typename R, typename T1, typename Klasse>
+ struct order_member_ptrs<R (Klasse::*)(T1) const volatile>
{
typedef int cv_type;
};
diff --git a/gcc/testsuite/g++.dg/template/ptrmem11.C b/gcc/testsuite/g++.dg/template/ptrmem11.C
index da2ce49..a88b706 100644
--- a/gcc/testsuite/g++.dg/template/ptrmem11.C
+++ b/gcc/testsuite/g++.dg/template/ptrmem11.C
@@ -1,8 +1,8 @@
// PR c++/18407
-template <typename Class>
+template <typename Klasse>
struct the_base{
- template <void (Class::*Fn)()> void foo() { }
+ template <void (Klasse::*Fn)()> void foo() { }
};
template <typename T>
diff --git a/gcc/testsuite/g++.dg/template/spec19.C b/gcc/testsuite/g++.dg/template/spec19.C
index c560b01..0824315 100644
--- a/gcc/testsuite/g++.dg/template/spec19.C
+++ b/gcc/testsuite/g++.dg/template/spec19.C
@@ -1,23 +1,23 @@
// PR c++/18962
template<class T1,int N1>
-class Class
+class Klasse
{
public:
template <class T2,int N2>
- void function( const Class<T2,N2>& );
+ void function( const Klasse<T2,N2>& );
};
template<>
template<class T2,int N2>
-void Class<int,1>::function( const Class<T2,N2>& param )
+void Klasse<int,1>::function( const Klasse<T2,N2>& param )
{
param; // make sure we use the argument list from the definition.
}
int main()
{
- Class<int,1> instance;
- Class<char,2> param;
+ Klasse<int,1> instance;
+ Klasse<char,2> param;
instance.function( param );
}
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;
}