]>
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.*) |