[go: up one dir, main page]

File: d2

package info (click to toggle)
cppi 1.18-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,936 kB
  • sloc: ansic: 12,443; sh: 7,551; lex: 850; perl: 173; makefile: 47; sed: 16
file content (65 lines) | stat: -rwxr-xr-x 784 bytes parent folder | download
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/sh

t=`basename $0`

cat > $t.I <<\EOF
#error 0
#if 0 /* c1 */
# if 0 /* c1 */
#error 1
 #else /* c2 */
#error 2
# endif /* c3 */
#error 3
 #else /* c2 */
#error 4
#if 0 /* c1 */
#error 5
 #if 0 /* c1 */
#error 6
 #else /* c2 */
#error 7
 #endif /* c3 */
#error 8
#else /* c2 */
#error 9
 # endif /* c3 */
#error a
# endif /* c3 */
#error b
EOF

cat > $t.EO <<\EOF
#error 0
#if 0 /* c1 */
# if 0 /* c1 */
#  error 1
# else /* c2 */
#  error 2
# endif /* c3 */
# error 3
#else /* c2 */
# error 4
# if 0 /* c1 */
#  error 5
#  if 0 /* c1 */
#   error 6
#  else /* c2 */
#   error 7
#  endif /* c3 */
#  error 8
# else /* c2 */
#  error 9
# endif /* c3 */
# error a
#endif /* c3 */
#error b
EOF

cat > $t.Ee <<\EOF
EOF

options=
expected_status=0

. $top_srcdir/tests/test-common