aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t5726.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t5726.scala')
-rw-r--r--tests/pending/pos/t5726.scala17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/pending/pos/t5726.scala b/tests/pending/pos/t5726.scala
deleted file mode 100644
index 1ef14ac79..000000000
--- a/tests/pending/pos/t5726.scala
+++ /dev/null
@@ -1,17 +0,0 @@
-import scala.language.dynamics
-
-class DynamicTest extends Dynamic {
- def selectDynamic(name: String) = s"value of $name"
- def updateDynamic(name: String)(value: Any): Unit = {
- println(s"You have just updated property '$name' with value: $value")
- }
-}
-
-object MyApp extends App {
- def testing(): Unit = {
- val test = new DynamicTest
- test.firstName = "John"
- }
-
- testing()
-}