File: preprocessor23.c

package info (click to toggle)
sparse 0.6.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,868 kB
  • sloc: ansic: 46,050; sh: 614; python: 301; perl: 293; makefile: 279
file content (51 lines) | stat: -rw-r--r-- 1,387 bytes parent folder | download | duplicates (4)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
#define H(x,...) ,##x##__VA_ARGS__##,##__VA_ARGS__
H()
H(x)
H(,)
H(x,)
H(,x)
H(x,x)
#define I(x,...) ,##x##__VA_ARGS__
I()
I(x)
I(,)
I(x,)
I(,x)
I(x,x)
#define J(...) ,##__VA_ARGS__
J()
J(x)
/*
 * check-name: Preprocessor #23
 * check-command: sparse -E $file
 *
 * check-output-start

,
,x
,,
,x,
,x,x
,xx,x
,x
,
,x
,x
,xx
,x
 * check-output-end
 *
 * check-error-start
preprocessor/preprocessor23.c:3:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:4:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:5:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:5:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:6:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:6:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:7:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:7:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:10:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:12:1: error: '##' failed: concatenation is not a valid token
preprocessor/preprocessor23.c:14:1: error: '##' failed: concatenation is not a valid token
 * check-error-end
 */