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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [fp16-param-1.c] - Blame information for rev 691

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-mfp16-format=ieee" } */
3
 
4
/* Functions cannot have parameters of type __fp16.  */
5
extern void f (__fp16);         /* { dg-error "parameters cannot have __fp16 type" } */
6
extern void (*pf) (__fp16);     /* { dg-error "parameters cannot have __fp16 type" } */
7
 
8
/* These should be OK.  */
9
extern void g (__fp16 *);
10
extern void (*pg) (__fp16 *);

powered by: WebSVN 2.1.0

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