summaryrefslogtreecommitdiff
path: root/test/badbuild.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/badbuild.awk')
-rw-r--r--test/badbuild.awk6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/badbuild.awk b/test/badbuild.awk
new file mode 100644
index 00000000..12a6caeb
--- /dev/null
+++ b/test/badbuild.awk
@@ -0,0 +1,6 @@
+$1 == $2 == $3 {
+ print "Gawk was built incorrectly."
+ print "Use bison, not byacc or something else!"
+ print "(Really, why aren't you using the awkgram.c in the distribution?)"
+ exit 42
+}