java1.C: Update for chage of _Jv_AllocObject.

* g++.dg/lookup/java1.C: Update for chage of
        _Jv_AllocObject.
        * g++.dg/lookup/java2.C: Likewise.

From-SVN: r80799
This commit is contained in:
Andrew Pinski 2004-04-17 20:13:50 +00:00 committed by Andrew Pinski
parent 171ed7b1ba
commit 0ff3e80574
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-04-17 Andrew Pinski <pinskia@physics.uc.edu>
* g++.dg/lookup/java1.C: Update for chage of
_Jv_AllocObject.
* g++.dg/lookup/java2.C: Likewise.
2004-04-17 Laurent GUERBY <laurent@guerby.net>
* ada/acats/run_all.sh: use -O2 by default.

View File

@ -45,7 +45,7 @@ void Bar1(void)
* Step 2: constructor declaration
*/
extern "C" jobject _Jv_AllocObject (jclass, jint) __attribute__((__malloc__));
extern "C" jobject _Jv_AllocObject (jclass) __attribute__((__malloc__));
void Bar2(void)
{

View File

@ -37,7 +37,7 @@ public:
* function, so we need to test here if it works with a normal declaration.
*/
extern "C" jobject _Jv_AllocObject (jclass, jint) __attribute__((__malloc__));
extern "C" jobject _Jv_AllocObject (jclass) __attribute__((__malloc__));
extern "C" void _Jv_Throw (jthrowable) __attribute__ ((__noreturn__));
void Bar4(void)