diff options
Diffstat (limited to 'tests/untried/neg/t1431.check')
-rw-r--r-- | tests/untried/neg/t1431.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t1431.check b/tests/untried/neg/t1431.check new file mode 100644 index 000000000..a17ba7324 --- /dev/null +++ b/tests/untried/neg/t1431.check @@ -0,0 +1,4 @@ +t1431.scala:8: error: class type required but X#Factory found + def fun[X<:MyTrait with Singleton]() = new X#Factory().value + ^ +one error found |