summaryrefslogtreecommitdiff
path: root/test/files/pos/nullary_poly.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/nullary_poly.scala')
-rw-r--r--test/files/pos/nullary_poly.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/nullary_poly.scala b/test/files/pos/nullary_poly.scala
index 4de7235a1c..d2e1e127a1 100644
--- a/test/files/pos/nullary_poly.scala
+++ b/test/files/pos/nullary_poly.scala
@@ -2,9 +2,9 @@
class A {
// built-in
synchronized {}
-
+
val x: String = "a".asInstanceOf[String]
-
+
// user-defined:
def polyNullary[T]: List[T] = Nil
}