CVSROOT: /sources/m4 Module name: m4 Changes by: Eric Blake <ericb> 06/09/20 04:04:29
Index: tests/macros.at =================================================================== RCS file: /sources/m4/m4/tests/macros.at,v retrieving revision 1.8 retrieving revision 1.9 diff -u -b -r1.8 -r1.9 --- tests/macros.at 31 Aug 2006 03:21:36 -0000 1.8 +++ tests/macros.at 20 Sep 2006 04:04:29 -0000 1.9 @@ -403,3 +403,23 @@ AT_CHECK_M4([-t define -daeq trace3.m4], 0, expout, experr) AT_CLEANUP + + +## --------------------- ## +## Renamesyms collisions ## +## --------------------- ## + +AT_SETUP([Renamesyms collisions]) + +dnl FIXME - We should gracefully detect rename collisions, rather than +dnl violating the invariants of the symbol table. +AT_XFAIL_IF([:]) + +AT_DATA([in], [[define(`bar', `1')define(`baz', `2')dnl +renamesyms(`^ba.$', `baa') +]]) + +AT_CHECK_M4([in], [0], [[ +]], [ignore]) + +AT_CLEANUP
