diff options
Diffstat (limited to 'tests/untried/neg/t2775.check')
-rw-r--r-- | tests/untried/neg/t2775.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t2775.check b/tests/untried/neg/t2775.check new file mode 100644 index 000000000..934a970f2 --- /dev/null +++ b/tests/untried/neg/t2775.check @@ -0,0 +1,4 @@ +t2775.scala:1: error: cannot find class tag for element type B.this.T +trait B[S] { type T = S; val c = new Array[T](1) } + ^ +one error found |