aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t0218.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t0218.scala')
-rw-r--r--tests/untried/neg/t0218.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/untried/neg/t0218.scala b/tests/untried/neg/t0218.scala
new file mode 100644
index 000000000..319be82a7
--- /dev/null
+++ b/tests/untried/neg/t0218.scala
@@ -0,0 +1,12 @@
+trait APQ {
+ class Placement {
+ }
+
+ type P <: Placement
+
+ type PP = P
+
+ def pq(numQueens: Int, numRows: Int) : List[Placement] = {
+ List(new PP)
+ }
+}