summaryrefslogtreecommitdiff
path: root/test/files/neg/nested-fn-print.scala
diff options
context:
space:
mode:
authorVojin Jovanovic <vojin.jovanovic@epfl.ch>2012-01-25 15:24:18 +0100
committerVojin Jovanovic <vojin.jovanovic@epfl.ch>2012-01-25 15:24:18 +0100
commitf814d40ea917592f78d2e8ca4c78f34ce4b5f297 (patch)
treecafac6a0d757419132fd75ab788f8163a619780b /test/files/neg/nested-fn-print.scala
parent85daadef89a9ed5c3901a5822221366ee6746d49 (diff)
parentde2b0c68785afc0f801fbe8d2750366e90c9fa70 (diff)
downloadscala-f814d40ea917592f78d2e8ca4c78f34ce4b5f297.tar.gz
scala-f814d40ea917592f78d2e8ca4c78f34ce4b5f297.tar.bz2
scala-f814d40ea917592f78d2e8ca4c78f34ce4b5f297.zip
Merge branch 'master' into execution-context
Diffstat (limited to 'test/files/neg/nested-fn-print.scala')
-rw-r--r--test/files/neg/nested-fn-print.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/neg/nested-fn-print.scala b/test/files/neg/nested-fn-print.scala
new file mode 100644
index 0000000000..9a4bd162c0
--- /dev/null
+++ b/test/files/neg/nested-fn-print.scala
@@ -0,0 +1,11 @@
+object Test {
+ var x1: Int => Float => Double = _
+ var x2: (Int => Float) => Double = _
+ var x3: Int => Double
+
+ def main(args: Array[String]): Unit = {
+ x1 = "a"
+ x2 = "b"
+ x3 = "c"
+ }
+}