OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [dremf-type-compat-4.c] - Blame information for rev 823

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test for bogus diagnostics for dremf definition, as in bug 16666.
2
   The GNU extension permitting a prototype to override the promotion
3
   of old-style parameter declarations should only apply when the
4
   prototype is visible, not for a built-in prototype.  */
5
/* { dg-do compile } */
6
/* { dg-options "" } */
7
 
8
float
9
dremf(x, y)
10
     float x, y; /* { dg-warning "warning: conflicting types for built-in function 'dremf'" } */
11
{
12
  return x + y;
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.