File: n_llong.c

package info (click to toggle)
mcpp 2.7.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,024 kB
  • ctags: 29,151
  • sloc: ansic: 35,191; sh: 9,231; makefile: 176; cpp: 84; exp: 18
file content (24 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* n_llong.c:   long long in #if expression */

#if 12345678901234567890U < 13345678901234567890U
    "long long #if expression is implemented."
#else
    "long long #if expression is not implemented."
#endif

#if 12345678901234567890ULL < 13345678901234567890ULL
    Valid block
#else
    Block to be skipped
#endif

#if (0x7FFFFFFFFFFFFFFFULL - 0x6FFFFFFFFFFFFFFFULL) >> 60 == 1
    Valid block
#else
    Block to be skipped
#endif

/* { dg-do preprocess }
   { dg-options "-std=c99" }
 */