URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 826 |
/* The warning for calling through a non-compatible type must not
|
/* The warning for calling through a non-compatible type must not
|
disable the normal diagnostics from comparing the argument list
|
disable the normal diagnostics from comparing the argument list
|
against the type of the called expression. */
|
against the type of the called expression. */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "" } */
|
/* { dg-options "" } */
|
|
|
void foo (void);
|
void foo (void);
|
void bar (void) { ((long (*)(int))foo) (); } /* { dg-error "too few arguments to function" } */
|
void bar (void) { ((long (*)(int))foo) (); } /* { dg-error "too few arguments to function" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.