Commit e78980b7 by Eric Botcazou Committed by Eric Botcazou

* g++.dg/other/pragma-re-1.C (p, q): Fix type and remove cast.

From-SVN: r90185
parent 432be037
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.
* gcc.c-torture/execute/20020227-1.x: Likewise.
* gcc.c-torture/execute/simd-5.x: Remove.
......
......@@ -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;
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