summaryrefslogtreecommitdiff
path: root/checks/47.patsubst
diff options
context:
space:
mode:
Diffstat (limited to 'checks/47.patsubst')
-rw-r--r--checks/47.patsubst11
1 files changed, 11 insertions, 0 deletions
diff --git a/checks/47.patsubst b/checks/47.patsubst
new file mode 100644
index 00000000..8235b50c
--- /dev/null
+++ b/checks/47.patsubst
@@ -0,0 +1,11 @@
+dnl ../doc/m4.texinfo:2604: Origin of test
+patsubst(`GNUs not Unix', `^', `OBS: ')
+dnl @result{}OBS: GNUs not Unix
+patsubst(`GNUs not Unix', `\<', `OBS: ')
+dnl @result{}OBS: GNUs OBS: not OBS: Unix
+patsubst(`GNUs not Unix', `\w*', `(\&)')
+dnl @result{}(GNUs)() (not)() (Unix)
+patsubst(`GNUs not Unix', `\w+', `(\&)')
+dnl @result{}(GNUs) (not) (Unix)
+patsubst(`GNUs not Unix', `[A-Z][a-z]+')
+dnl @result{}GN not