eh16.C: Rename err to e.

* g++.old-deja/g++.mike/eh16.C: Rename err to e.
	* g++.old-deja/g++.mike/eh17.C: Likewise.
	* g++.old-deja/g++.mike/p5571.C: Likewise.

From-SVN: r156353
This commit is contained in:
Rainer Orth 2010-01-29 15:27:42 +00:00 committed by Rainer Orth
parent 1a048f8232
commit bac4175b69
4 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,9 @@
2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.old-deja/g++.mike/eh16.C: Rename err to e.
* g++.old-deja/g++.mike/eh17.C: Likewise.
* g++.old-deja/g++.mike/p5571.C: Likewise.
2010-01-29 Dodji Seketeli <dodji@redhat.com>
PR c++/42758

View File

@ -1,11 +1,11 @@
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
int err = 1;
int e = 1;
struct A {
~A() {
--err;
--e;
}
};
@ -20,7 +20,7 @@ main() {
try {
B b;
} catch (...) {
return err;
return e;
}
return 1;
}

View File

@ -1,11 +1,11 @@
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
int err = 1;
int e = 1;
struct A {
~A() {
--err;
--e;
}
};
@ -19,7 +19,7 @@ main() {
try {
B b;
} catch (...) {
return err;
return e;
}
return 1;
}

View File

@ -1,7 +1,7 @@
// { dg-do run }
// prms-id: 5571
int err = 0;
int e = 0;
void *vp = 0;
class ParentOne {
@ -36,7 +36,7 @@ struct Student : public Child {
else
{
if (vp != (void *)this)
++err;
++e;
}
}
void LocalPrintThis() {
@ -45,7 +45,7 @@ struct Student : public Child {
else
{
if (vp != (void *)this)
++err;
++e;
}
PrintThis();
}
@ -55,7 +55,7 @@ struct Student : public Child {
else
{
if (vp != (void *)this)
++err;
++e;
}
Student::PrintThis();
}
@ -67,5 +67,5 @@ int main() {
o.ForcedPrintThis();
Child* pX = &o;
pX->PrintThis();
return err;
return e;
}