aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile10.ok
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-03-19 22:06:24 +0200
committerArnold D. Robbins <arnold@skeeve.com>2016-03-19 22:06:24 +0200
commitdd0cfe0cb3138755733c6578366cebc239e7017d (patch)
treef57ce53ff1ea381f0c681fc3151248fcae36bd3d /test/profile10.ok
parent2fcbc7891d4440a30ff000ee39b0662f155a64ab (diff)
downloadegawk-dd0cfe0cb3138755733c6578366cebc239e7017d.tar.gz
egawk-dd0cfe0cb3138755733c6578366cebc239e7017d.tar.bz2
egawk-dd0cfe0cb3138755733c6578366cebc239e7017d.zip
New profile test.
Diffstat (limited to 'test/profile10.ok')
-rw-r--r--test/profile10.ok37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/profile10.ok b/test/profile10.ok
new file mode 100644
index 00000000..9d4840c2
--- /dev/null
+++ b/test/profile10.ok
@@ -0,0 +1,37 @@
+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) {
+ case "a":
+ # Comment 18
+ case "b":
+ # Comment 19
+ break # Comment 20
+ # Comment 21
+ default:
+ # Comment 22
+ break # Comment 23
+ }
+ # Comment 24
+ if (1) {
+ print "foo"
+ } # Comment 25
+ # Comment 26
+}
+
+# Comment 27