summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-13 18:38:24 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-13 18:38:24 +0000
commitcbd898871890b31a53bc51356b8b43cffd82731e (patch)
treeaca0699d08b26f791a76813b0e83be7a46d54ec9
parent641cacd54d2a519191b820c4fdb38c997eb00935 (diff)
downloadppe42-gcc-cbd898871890b31a53bc51356b8b43cffd82731e.tar.gz
ppe42-gcc-cbd898871890b31a53bc51356b8b43cffd82731e.zip
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117702 138bc75d-0d04-0410-961f-82ee72b054a4
-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 bd4013b703f..b18ddd97dbb 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 c1954d6c192..6629efb9a85 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 269c4f21240..041c18abc1c 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 e180e48105e..d435873cc31 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 ca228ac6492..bbf9ac04b4b 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 bcdda5ca69d..7d912e2adbb 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 da2ce499fbe..a88b70660e7 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 c560b01642a..082431533d1 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 3ae9f8b8366..1b6345f1d8b 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 2590bcbda9a..5b933937bc8 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 52f3a4a6b90..b023125cf7b 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 8b6874808c1..cbf36cff55f 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 b24fd7302e3..d13dfe83ed2 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;
}
OpenPOWER on IntegriCloud