10 ## ------------------ ##
11 ## Duplicate string. ##
12 ## ------------------ ##
15 AT_SETUP([Duplicate string])
17 AT_DATA([duplicate.y],
18 [[/* `Bison -v' used to dump core when two tokens are defined with the same
19 string, as LE and GE below. */
26 exp: '(' exp ')' | NUM ;
30 AT_CHECK([bison -v duplicate.y -o duplicate.c], 0, ignore, ignore)
32 AT_CLEANUP([duplicate.*])
36 ## ---------------------- ##
37 ## %union and --defines. ##
38 ## ---------------------- ##
41 AT_SETUP([%union and --defines])
53 AT_CHECK([bison --defines union.y])