+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.
/* 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;