aboutsummaryrefslogtreecommitdiffstats
path: root/test/mpfrcase.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/mpfrcase.awk')
-rw-r--r--test/mpfrcase.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mpfrcase.awk b/test/mpfrcase.awk
new file mode 100644
index 00000000..4ecd75b6
--- /dev/null
+++ b/test/mpfrcase.awk
@@ -0,0 +1,4 @@
+{
+ switch ($1) { case "A" : arr[1] = $1 }
+ print "value: " arr[1]
+}