aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i1704.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-12-14 17:38:21 +0100
committerMartin Odersky <odersky@gmail.com>2016-12-14 18:25:19 +0100
commit90ce8875c874f011b335390b3b41422793e1c7aa (patch)
treefae5c3e54ab92b8651122931035ddfd35f61e532 /tests/pos/i1704.scala
parentba06bf06721f1a8de7d68d22ad7eba27fff90c43 (diff)
downloaddotty-90ce8875c874f011b335390b3b41422793e1c7aa.tar.gz
dotty-90ce8875c874f011b335390b3b41422793e1c7aa.tar.bz2
dotty-90ce8875c874f011b335390b3b41422793e1c7aa.zip
More tests and other odds and end
- Add tests that work to pos/neg, tests that don't work yet to pending/pos/neg. - Also, change .gitignore to allow for a local directory. - Also add a draft page to the docs.
Diffstat (limited to 'tests/pos/i1704.scala')
-rw-r--r--tests/pos/i1704.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/i1704.scala b/tests/pos/i1704.scala
new file mode 100644
index 000000000..94bc03c4d
--- /dev/null
+++ b/tests/pos/i1704.scala
@@ -0,0 +1,4 @@
+trait AnyRef {
+ val StringMatch = new AnyRef {}
+ trait Something { (AnyRef) match { case (StringMatch) => } }
+}