* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.
From-SVN: r90185
This commit is contained in:
parent
432be03772
commit
e78980b724
|
@ -1,3 +1,7 @@
|
|||
2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.
|
||||
|
||||
2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
/* This one is expected to work. */
|
||||
#pragma redefine_extname foo bar
|
||||
extern "C" int foo(void);
|
||||
void *p = (void *)foo;
|
||||
int (*p)(void) = foo;
|
||||
|
||||
/* This one is expected not to work (redefine_extname
|
||||
can only be applied to extern "C" names). */
|
||||
#pragma redefine_extname baz baq
|
||||
extern int baz(void);
|
||||
void *q = (void *)baz;
|
||||
int (*q)(void) = baz;
|
||||
|
|
Loading…
Reference in New Issue