aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2014-10-05 02:02:53 +0200
committerGuillaume Martres <smarter@ubuntu.com>2014-10-05 02:02:53 +0200
commitc60218303b65f66ddc8a4afa0add8506d5272533 (patch)
treed1505eff3b8594150101f0d906cc94e7394c79c1 /test/dotc/tests.scala
parentf57753ff673d39ab68f2182459d5cfb2125d15a1 (diff)
downloaddotty-c60218303b65f66ddc8a4afa0add8506d5272533.tar.gz
dotty-c60218303b65f66ddc8a4afa0add8506d5272533.tar.bz2
dotty-c60218303b65f66ddc8a4afa0add8506d5272533.zip
Fix isSubType(A#X, B#X) not checking if A <: B
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index fa577573a..c4b34e0e9 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -87,6 +87,7 @@ class tests extends CompilerTest {
@Test def neg_t1843 = compileFile(negDir, "t1843", xerrors = 1)
@Test def neg_t1843_variances = compileFile(negDir, "t1843-variances", xerrors = 1)
@Test def neg_t2994 = compileFile(negDir, "t2994", xerrors = 2)
+ @Test def neg_subtyping = compileFile(negDir, "subtyping", xerrors = 1)
@Test def neg_variances = compileFile(negDir, "variances", xerrors = 2)
@Test def dotc = compileDir(dotcDir + "tools/dotc", twice)