aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile10.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-04-02 22:35:33 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-04-02 22:35:33 +0300
commit2ca6fd0026a03da5ac6a658fd744f90dde374ce5 (patch)
tree46bd99d83e7a071e345e4a660ba22391c1bbccd6 /test/profile10.awk
parente03ebf24e322d0aa14bfc0f8b427861a80b71b64 (diff)
parent80841bfbe180589bfc3d66d15792994d28490702 (diff)
downloadegawk-2ca6fd0026a03da5ac6a658fd744f90dde374ce5.tar.gz
egawk-2ca6fd0026a03da5ac6a658fd744f90dde374ce5.tar.bz2
egawk-2ca6fd0026a03da5ac6a658fd744f90dde374ce5.zip
Merge branch 'master' into feature/cmake
Diffstat (limited to 'test/profile10.awk')
-rw-r--r--test/profile10.awk42
1 files changed, 42 insertions, 0 deletions
diff --git a/test/profile10.awk b/test/profile10.awk
new file mode 100644
index 00000000..b78ae447
--- /dev/null
+++ b/test/profile10.awk
@@ -0,0 +1,42 @@
+BEGIN { # Comment 0
+ if (1) { # Comment 1
+ print "ABC" # Comment2
+ } else { # Comment 3
+ print "XYZ" # Comment 4
+ } # Comment 5
+
+ while (c == d) { # Comment 6
+ print "DEF" # Comment 7
+ } # Comment 8
+
+ do { # Comment 9
+ print "GHI" # Comment 10
+ } while (e == f) # Comment 11
+
+ for (i in data) { # Comment 12
+ print "JKL" # Comment 13
+ } # Comment 14
+
+ for (z = 1; z <= 10; z++) { # Comment 15
+ print "MNO" # Comment 16
+ } # Comment 17
+
+ switch (q) { # Comment 18
+ case "a": # Comment 19
+ case "b":
+ # Comment 20
+ break # Comment 21
+ default: # Comment 22
+ break # Comment 23
+ } # Comment 24
+
+ if (1) {
+ print "foo"
+ } # Comment 25
+
+ if (2) {
+ print "bar"
+ }
+ # Comment 26
+}
+# Comment 27