1 |
689 |
jeremybenn |
/* PR preprocessor/19475 */
|
2 |
|
|
/* { dg-do preprocess } */
|
3 |
|
|
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
|
4 |
|
|
|
5 |
|
|
#define a! /* { dg-error "requires whitespace" } */
|
6 |
|
|
#define b" /* { dg-error "requires whitespace" } */
|
7 |
|
|
#define c# /* { dg-error "requires whitespace" } */
|
8 |
|
|
#define d% /* { dg-error "requires whitespace" } */
|
9 |
|
|
#define e& /* { dg-error "requires whitespace" } */
|
10 |
|
|
#define f' /* { dg-error "requires whitespace" } */
|
11 |
|
|
#define g) /* { dg-error "requires whitespace" } */
|
12 |
|
|
#define h* /* { dg-error "requires whitespace" } */
|
13 |
|
|
#define i+ /* { dg-error "requires whitespace" } */
|
14 |
|
|
#define j, /* { dg-error "requires whitespace" } */
|
15 |
|
|
#define k- /* { dg-error "requires whitespace" } */
|
16 |
|
|
#define l. /* { dg-error "requires whitespace" } */
|
17 |
|
|
#define m/ /* { dg-error "requires whitespace" } */
|
18 |
|
|
#define n: /* { dg-error "requires whitespace" } */
|
19 |
|
|
#define o; /* { dg-error "requires whitespace" } */
|
20 |
|
|
#define p< /* { dg-error "requires whitespace" } */
|
21 |
|
|
#define q= /* { dg-error "requires whitespace" } */
|
22 |
|
|
#define r> /* { dg-error "requires whitespace" } */
|
23 |
|
|
#define s? /* { dg-error "requires whitespace" } */
|
24 |
|
|
#define t[ /* { dg-error "requires whitespace" } */
|
25 |
|
|
#define u] /* { dg-error "requires whitespace" } */
|
26 |
|
|
#define v^ /* { dg-error "requires whitespace" } */
|
27 |
|
|
#define w{ /* { dg-error "requires whitespace" } */
|
28 |
|
|
#define x| /* { dg-error "requires whitespace" } */
|
29 |
|
|
#define y} /* { dg-error "requires whitespace" } */
|
30 |
|
|
#define z~ /* { dg-error "requires whitespace" } */
|
31 |
|
|
#define A>> /* { dg-error "requires whitespace" } */
|
32 |
|
|
#define B<< /* { dg-error "requires whitespace" } */
|
33 |
|
|
#define E&& /* { dg-error "requires whitespace" } */
|
34 |
|
|
#define F|| /* { dg-error "requires whitespace" } */
|
35 |
|
|
#define G== /* { dg-error "requires whitespace" } */
|
36 |
|
|
#define H!= /* { dg-error "requires whitespace" } */
|
37 |
|
|
#define I>= /* { dg-error "requires whitespace" } */
|
38 |
|
|
#define J<= /* { dg-error "requires whitespace" } */
|
39 |
|
|
#define K+= /* { dg-error "requires whitespace" } */
|
40 |
|
|
#define L-= /* { dg-error "requires whitespace" } */
|
41 |
|
|
#define M*= /* { dg-error "requires whitespace" } */
|
42 |
|
|
#define N/= /* { dg-error "requires whitespace" } */
|
43 |
|
|
#define O%= /* { dg-error "requires whitespace" } */
|
44 |
|
|
#define P&= /* { dg-error "requires whitespace" } */
|
45 |
|
|
#define Q|= /* { dg-error "requires whitespace" } */
|
46 |
|
|
#define R^= /* { dg-error "requires whitespace" } */
|
47 |
|
|
#define S>>= /* { dg-error "requires whitespace" } */
|
48 |
|
|
#define T<<= /* { dg-error "requires whitespace" } */
|
49 |
|
|
#define W... /* { dg-error "requires whitespace" } */
|
50 |
|
|
#define X++ /* { dg-error "requires whitespace" } */
|
51 |
|
|
#define Y-- /* { dg-error "requires whitespace" } */
|
52 |
|
|
#define Z-> /* { dg-error "requires whitespace" } */
|
53 |
|
|
#define aa:: /* { dg-error "requires whitespace" } */
|
54 |
|
|
#define ab->* /* { dg-error "requires whitespace" } */
|
55 |
|
|
#define ac.* /* { dg-error "requires whitespace" } */
|
56 |
|
|
#define ad\x /* { dg-error "requires whitespace" } */
|
57 |
|
|
#define ae\\x /* { dg-error "requires whitespace" } */
|
58 |
|
|
#define af'1' /* { dg-error "requires whitespace" } */
|
59 |
|
|
#define ag"abc" /* { dg-error "requires whitespace" } */
|
60 |
|
|
|
61 |
|
|
int dummy;
|
62 |
|
|
/* { dg-error "missing terminating" "" { target *-*-* } 6 } */
|
63 |
|
|
/* { dg-error "missing terminating" "" { target *-*-* } 10 } */
|