Commit 95220fdf by Dirk Mueller Committed by Dirk Mueller

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
parent c8bf5b7c
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> 2006-10-30 Roger Sayle <roger@eyesopen.com>
* gcc.target/i386/pr27827.c: Explicitly specify -mfpmath=387. * gcc.target/i386/pr27827.c: Explicitly specify -mfpmath=387.
...@@ -28,6 +28,6 @@ ns::Test::Test( int n ) throw( Exception ) : i( n ) ...@@ -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; ns::Test test;
} }
/* PR c++/8842. */ /* PR c++/8842. */
/* { dg-do compile } */ /* { dg-do compile } */
int main( int argc, char* argv ) int main( int argc, char* argv[] )
{ {
int i = 5; int i = 5;
// This always worked: // This always worked:
......
...@@ -10,7 +10,7 @@ void shake_one() ...@@ -10,7 +10,7 @@ void shake_one()
void (*foo)(); void (*foo)();
int main(int a) int main(int a, char** /*argv*/)
{ {
foo = a ? shake_zero : shake_one; foo = a ? shake_zero : shake_one;
return 0; return 0;
......
...@@ -20,7 +20,7 @@ template <> long TC<long>::sss = 0; ...@@ -20,7 +20,7 @@ template <> long TC<long>::sss = 0;
TC<long> xjj(1,2); TC<long> xjj(1,2);
int main(int,char*) { int main(int,char**) {
TC<float> xff(9.9,3.14); TC<float> xff(9.9,3.14);
xjj.sz(123); xjj.sz(123);
xff.sz(2.71828); xff.sz(2.71828);
......
...@@ -14,7 +14,7 @@ template <> float TC<float>::sss = 0.0; ...@@ -14,7 +14,7 @@ template <> float TC<float>::sss = 0.0;
TC<long> xjj(1,2); TC<long> xjj(1,2);
int main(int,char*) { int main(int,char**) {
TC<float> xff(9.9,3.14); TC<float> xff(9.9,3.14);
xjj.sz(123); xjj.sz(123);
xff.sz(2.71828); xff.sz(2.71828);
......
...@@ -14,7 +14,7 @@ template <> float TC<float>::sss = 0.0; ...@@ -14,7 +14,7 @@ template <> float TC<float>::sss = 0.0;
TC<long> xjj(1,2); TC<long> xjj(1,2);
int main(int,char*) { int main(int,char**) {
TC<float> xff(9.9,3.14); TC<float> xff(9.9,3.14);
xjj.sz(123); xjj.sz(123);
xff.sz(2.71828); xff.sz(2.71828);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment