summaryrefslogtreecommitdiff
path: root/test/files/run/t7584.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-06-16 14:47:26 -0400
committerJason Zaugg <jzaugg@gmail.com>2013-06-16 17:11:07 -0400
commit9f2b2894ba2b45135943e943d13898aefc333cc2 (patch)
tree4221d0b7e9f756cae01a4cf8f3703be105ca94fa /test/files/run/t7584.check
parent83ae74ce9d3ff56c47b39e44332daa3da2981133 (diff)
downloadscala-9f2b2894ba2b45135943e943d13898aefc333cc2.tar.gz
scala-9f2b2894ba2b45135943e943d13898aefc333cc2.tar.bz2
scala-9f2b2894ba2b45135943e943d13898aefc333cc2.zip
SI-7584 Test and spurious warning fix for by-name closures
The enclosed test case exercises by-name closures, which were the subject of the previous commit. In the process, a spurious warning was eliminated.
Diffstat (limited to 'test/files/run/t7584.check')
-rw-r--r--test/files/run/t7584.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7584.check b/test/files/run/t7584.check
new file mode 100644
index 0000000000..9f53e5dde5
--- /dev/null
+++ b/test/files/run/t7584.check
@@ -0,0 +1,6 @@
+no calls
+call A
+a
+call B twice
+b
+b