aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t693.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t693.scala')
-rw-r--r--tests/untried/neg/t693.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t693.scala b/tests/untried/neg/t693.scala
new file mode 100644
index 000000000..3a9e6247a
--- /dev/null
+++ b/tests/untried/neg/t693.scala
@@ -0,0 +1,5 @@
+abstract class test4 {
+ trait Type;
+ val x : Type = null;
+ val x : Int = 10;
+}