summaryrefslogtreecommitdiff
path: root/test/nsawk2.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-06-26 21:40:31 +0300
committerArnold D. Robbins <arnold@skeeve.com>2019-06-26 21:40:31 +0300
commit076eb06c0c714ca6ee95ca512d114bf9f41038e0 (patch)
treed81211b7e2bbd71ab59802bf85a0f5df253158ec /test/nsawk2.awk
parent8f2b0b9128f4d2dc50ae52c304237c8e9d4b85f9 (diff)
downloadgawk-076eb06c0c714ca6ee95ca512d114bf9f41038e0.tar.gz
Add tests for previous fix to namespaces.
Diffstat (limited to 'test/nsawk2.awk')
-rw-r--r--test/nsawk2.awk5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/nsawk2.awk b/test/nsawk2.awk
new file mode 100644
index 00000000..d275c121
--- /dev/null
+++ b/test/nsawk2.awk
@@ -0,0 +1,5 @@
+# Used to cause internal error
+BEGIN {
+ x = awk::I
+ print x
+}