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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [pr7263-2.c] - Blame information for rev 414

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

Line No. Rev Author Line
1 298 jeremybenn
/* PR 7263:  __extension__ keyword doesn't suppress warning on LL or ULL constants.  */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c89 -pedantic-errors" } */
4
#include "pr7263-2.h"
5
unsigned long long /* { dg-error "ISO C90 does not support .long long." } */
6
bar ()
7
{
8
  return BIG_EXT;
9
}
10
 
11
unsigned long long /* { dg-error "ISO C90 does not support .long long." } */
12
bar2 ()
13
{
14
  return 0x1b27da572ef3cd86ULL; /* { dg-error "use of C99 long long integer constant" } */
15
}
16
 
17
 
18
unsigned long long /* { dg-error "ISO C90 does not support .long long." } */
19
bar3 ()
20
{
21
  return __extension__ (0x1b27da572ef3cd86ULL);
22
}
23
 
24
__extension__ unsigned long long
25
bar4 ()
26
{
27
  return BIG;
28
}

powered by: WebSVN 2.1.0

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