projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename pspp.xml to org.fsf.pspp.xml.
[pspp]
/
tests
/
language
/
control
/
define.at
diff --git
a/tests/language/control/define.at
b/tests/language/control/define.at
index 204ed2efd37f1b183f263923b530777a9dfe1436..8ca40cbaba396e853b727753a8589c43fcf568e6 100644
(file)
--- a/
tests/language/control/define.at
+++ b/
tests/language/control/define.at
@@
-41,6
+41,18
@@
m(n, o).
])
AT_CLEANUP
])
AT_CLEANUP
+AT_SETUP([redefining a macro])
+AT_DATA([define.sps], [dnl
+DEFINE !macro() 0 !ENDDEFINE.
+DEFINE !macro() 1 !ENDDEFINE.
+DEBUG EXPAND.
+!macro.
+])
+AT_CHECK([pspp --testing-mode define.sps], [0], [dnl
+1
+])
+AT_CLEANUP
+
AT_SETUP([macro expansion - one !TOKENS(1) positional argument])
AT_KEYWORDS([TOKENS])
AT_DATA([define.sps], [dnl
AT_SETUP([macro expansion - one !TOKENS(1) positional argument])
AT_KEYWORDS([TOKENS])
AT_DATA([define.sps], [dnl