diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-19 12:40:38 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-06-19 12:40:38 +0300 |
commit | f7cd8a03c09a00c4cb520f881bbe838cf76e718f (patch) | |
tree | b4089722a537426cf28d607a2eab7e8be01c29d9 /test/typeof1.awk | |
parent | 20037f36ee350ee64699d311e4296be1f0367dd2 (diff) | |
download | gawk-f7cd8a03c09a00c4cb520f881bbe838cf76e718f.tar.gz |
Cleanup files and fix up tests for typed regexes and typeof.
Diffstat (limited to 'test/typeof1.awk')
-rw-r--r-- | test/typeof1.awk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/typeof1.awk b/test/typeof1.awk new file mode 100644 index 00000000..c301030e --- /dev/null +++ b/test/typeof1.awk @@ -0,0 +1,9 @@ +BEGIN { + a = 5 ; print typeof(a) + print typeof(b) + print typeof(@/foo/) + c = "foo" ; print typeof(c) + d[1] = 1 ; print typeof(d), typeof(d[1]) + e = @/foo/ ; print typeof(e) + print typeof(@/bar/) +} |