eichin01a.C (main): Fix prototype.

2006-10-30  Dirk Mueller  <dmueller@suse.de>

       * g++.old-deja/g++.pt/eichin01a.C (main): Fix prototype.
       * g++.old-deja/g++.pt/eichin01b.C (main): Same.
       * g++.old-deja/g++.pt/eichin01.C (main): Same.
       * g++.old-deja/g++.mike/net25.C (main): Same.
       * g++.dg/lookup/exception1.C (main): Same.
       * g++.dg/parse/parens2.C (main): Same.

From-SVN: r118204
This commit is contained in:
Dirk Mueller 2006-10-30 22:25:07 +00:00 committed by Dirk Mueller
parent c8bf5b7c54
commit 95220fdfba
7 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2006-10-30 Dirk Mueller <dmueller@suse.de>
* g++.old-deja/g++.pt/eichin01a.C (main): Fix prototype.
* g++.old-deja/g++.pt/eichin01b.C (main): Same.
* g++.old-deja/g++.pt/eichin01.C (main): Same.
* g++.old-deja/g++.mike/net25.C (main): Same.
* g++.dg/lookup/exception1.C (main): Same.
* g++.dg/parse/parens2.C (main): Same.
2006-10-30 Roger Sayle <roger@eyesopen.com>
* gcc.target/i386/pr27827.c: Explicitly specify -mfpmath=387.

View File

@ -28,6 +28,6 @@ ns::Test::Test( int n ) throw( Exception ) : i( n )
{
}
int main(int argc, char* argv) {
int main(int argc, char* argv[]) {
ns::Test test;
}

View File

@ -1,6 +1,6 @@
/* PR c++/8842. */
/* { dg-do compile } */
int main( int argc, char* argv )
int main( int argc, char* argv[] )
{
int i = 5;
// This always worked:

View File

@ -10,7 +10,7 @@ void shake_one()
void (*foo)();
int main(int a)
int main(int a, char** /*argv*/)
{
foo = a ? shake_zero : shake_one;
return 0;

View File

@ -20,7 +20,7 @@ template <> long TC<long>::sss = 0;
TC<long> xjj(1,2);
int main(int,char*) {
int main(int,char**) {
TC<float> xff(9.9,3.14);
xjj.sz(123);
xff.sz(2.71828);

View File

@ -14,7 +14,7 @@ template <> float TC<float>::sss = 0.0;
TC<long> xjj(1,2);
int main(int,char*) {
int main(int,char**) {
TC<float> xff(9.9,3.14);
xjj.sz(123);
xff.sz(2.71828);

View File

@ -14,7 +14,7 @@ template <> float TC<float>::sss = 0.0;
TC<long> xjj(1,2);
int main(int,char*) {
int main(int,char**) {
TC<float> xff(9.9,3.14);
xjj.sz(123);
xff.sz(2.71828);