summaryrefslogtreecommitdiffstats
path: root/contrib/awk/test/intest.awk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/awk/test/intest.awk')
-rw-r--r--contrib/awk/test/intest.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/awk/test/intest.awk b/contrib/awk/test/intest.awk
new file mode 100644
index 0000000..f030d07
--- /dev/null
+++ b/contrib/awk/test/intest.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ bool = ((b = 1) in c);
+ print bool, b # gawk-3.0.1 prints "0 "; should print "0 1"
+}
OpenPOWER on IntegriCloud