]>
Commit | Line | Data |
---|---|---|
8e03724b AD |
1 | # -*- Autoconf -*- |
2 | ||
3 | cat <<EOF | |
4 | ||
5 | Regression tests. | |
6 | ||
7 | EOF | |
8 | ||
9 | AT_SETUP(Duplicate string) | |
10 | ||
11 | AT_DATA([duplicate.y], | |
12 | [[/* `Bison -v' used to dump core when two tokens are defined with the same | |
13 | string, as LE and GE below. */ | |
14 | ||
15 | %token NUM | |
16 | %token LE "<=" | |
17 | %token GE "<=" | |
18 | ||
19 | %% | |
20 | exp: '(' exp ')' | NUM ; | |
21 | %% | |
22 | ]]) | |
23 | ||
24 | AT_CHECK([bison -v duplicate.y -o duplicate.c], 0, ignore, ignore) | |
25 | ||
26 | AT_CLEANUP(duplicate.*) | |
ff4a34be AD |
27 | # -*- Autoconf -*- |
28 | ||
29 | cat <<EOF | |
30 | ||
31 | Regression tests. | |
32 | ||
33 | EOF | |
34 | ||
35 | AT_SETUP(Duplicate string) | |
36 | ||
37 | AT_DATA([duplicate.y], | |
38 | [[/* `Bison -v' used to dump core when two tokens are defined with the same | |
39 | string, as LE and GE below. */ | |
40 | ||
41 | %token NUM | |
42 | %token LE "<=" | |
43 | %token GE "<=" | |
44 | ||
45 | %% | |
46 | exp: '(' exp ')' | NUM ; | |
47 | %% | |
48 | ]]) | |
49 | ||
50 | AT_CHECK([bison -v duplicate.y -o duplicate.c], 0, ignore, ignore) | |
51 | ||
52 | AT_CLEANUP(duplicate.*) |