summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dfp/keywords-ignored-c99.c
blob: a4258aaa8ae655745b90568d80531b9c948b4cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-std=c99" } */

/* Decimal float keywords are not reserved for c99.  */

int _Decimal32 (void)
{
  return 0;
}

int foo (int i)
{
  int _Decimal64 = i * 2;
  return _Decimal64;
}