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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [dfp/] [dec-eval-method-2.c] - Blame information for rev 713

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-D__STDC_WANT_DEC_FP__" } */
3
 
4
/* N1107 4: Characteristics of decimal floating types <float.h>.
5
   C99 5.2.4.2.2a[2] (New).
6
 
7
   Verify that DEC_EVAL_METHOD is defined by float.h.
8
   DEC_EVAL_METHOD in <float.h>.  */
9
 
10
#ifdef DEC_EVAL_METHOD
11
#error DEC_EVAL_METHOD is defined before float.h is included
12
#endif
13
 
14
#include <float.h>
15
 
16
#ifndef DEC_EVAL_METHOD
17
#error DEC_EVAL_METHOD is not defined after float.h is included
18
#endif
19
 
20
int i;

powered by: WebSVN 2.1.0

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