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-1.c] - Blame information for rev 853

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.  Although this
2
   definition is formally incorrect in ISO C, a GNU extension permits
3
   a prototype followed by unpromoted types in a function definition,
4
   so it should be permitted when the function is built in.  Bug
5
   16666.  */
6
/* { dg-do compile } */
7
/* { dg-options "" } */
8
 
9
float dremf (float, float);
10
 
11
float
12
dremf (x, y)
13
     float x, y;
14
{
15
  return x + y;
16
}

powered by: WebSVN 2.1.0

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