summaryrefslogtreecommitdiff
path: root/checks/207.m4exit
diff options
context:
space:
mode:
Diffstat (limited to 'checks/207.m4exit')
-rw-r--r--checks/207.m4exit15
1 files changed, 15 insertions, 0 deletions
diff --git a/checks/207.m4exit b/checks/207.m4exit
new file mode 100644
index 0000000..a05a1f4
--- /dev/null
+++ b/checks/207.m4exit
@@ -0,0 +1,15 @@
+dnl @ ../doc/m4.texi:7097: Origin of test
+dnl @ expected status: 1
+dnl @ extra options:
+dnl @ Copyright (C) 2006, 2007, 2008, 2009 Free Software
+dnl @ Foundation, Inc.
+dnl @ This file is free software; the Free Software Foundation
+dnl @ gives unlimited permission to copy and/or distribute it
+dnl @ with or without modifications, as long as this notice
+dnl @ is preserved.
+define(`fatal_error',
+ `errprint(__program__:__file__:__line__`: fatal error: $*
+')m4exit(`1')')
+dnl @result{}
+fatal_error(`this is a BAD one, buster')
+dnl @error{}m4:stdin:4: fatal error: this is a BAD one, buster