Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: gcc/gcc/testsuite/g++.old-deja/g++.mike/p5571.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/g++.old-deja/g++.mike/p438.C ('k') | gcc/gcc/testsuite/g++.old-deja/g++.niklas/t120.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.old-deja/g++.mike/p5571.C
diff --git a/gcc/gcc/testsuite/g++.old-deja/g++.mike/p5571.C b/gcc/gcc/testsuite/g++.old-deja/g++.mike/p5571.C
index 792fc1d807c31e1c5932687f771d8962eb0bb976..b03675fbfb07341293c6fad1d670c858bd4236a8 100644
--- a/gcc/gcc/testsuite/g++.old-deja/g++.mike/p5571.C
+++ b/gcc/gcc/testsuite/g++.old-deja/g++.mike/p5571.C
@@ -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;
}
« no previous file with comments | « gcc/gcc/testsuite/g++.old-deja/g++.mike/p438.C ('k') | gcc/gcc/testsuite/g++.old-deja/g++.niklas/t120.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698