File: tuple.cppo

package info (click to toggle)
cppo 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 588 kB
  • sloc: ml: 2,133; makefile: 54; sh: 11
file content (38 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#if (2 + 2, 5) < (4, 5)
  mountain
  #error ""
#else
  pistachios
#endif

#if (3 * 3) = 10 - 1
  trees
#else
  rocks
  #error ""
#endif

#if (1) = (1)
  waves
#else
  sharks
  #error ""
#endif


#define x 11
#if (x, 2) <> (x, 4/2)
  honey
  #error ""
#else
  bees
#endif

#define tuple (0, -5, 3)
#define tuple2 tuple
#if (0, -5, x) > tuple2
  steamboat
#else
  koalas
  #error ""
#endif