blob: 4755206c5005e52ee6e7b9621a82b90f08dc424d (
plain)
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
|
/* PR preprocessor/60570 */
/* { dg-do preprocess } */
#if 1
int i;
#elif 1/0
#endif
#if 1
int j;
#elif
#endif
#if 0
#elif 1/0 /* { dg-error "division by zero" } */
int k;
#endif
#if 0
#elif /* { dg-error "with no expression" } */
int n;
#endif
#if 1
# if 1
int l;
# elif 1/0
# endif
#endif
#if 1
# if 1
int l;
# elif
# endif
#endif
#if 1
# if 0
# elif 1/0 /* { dg-error "division by zero" } */
# endif
#endif
#if 1
# if 0
# elif /* { dg-error "with no expression" } */
# endif
#endif
|