diff options
author | NAME <USER@epfl.ch> | 2008-03-12 13:16:06 +0000 |
---|---|---|
committer | NAME <USER@epfl.ch> | 2008-03-12 13:16:06 +0000 |
commit | bb1cc87c92a35468ac4322276caca7a601bf2352 (patch) | |
tree | 8074d7e7c3c3b4337af7238026cdd4b25344cb24 | |
parent | 1e01637f897d39719fac79456d274fe8661ce4d6 (diff) | |
download | scala-bb1cc87c92a35468ac4322276caca7a601bf2352.tar.gz scala-bb1cc87c92a35468ac4322276caca7a601bf2352.tar.bz2 scala-bb1cc87c92a35468ac4322276caca7a601bf2352.zip |
Pending test for #576
-rw-r--r-- | test/pending/pos/t0576.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/pos/t0576.scala b/test/pending/pos/t0576.scala new file mode 100644 index 0000000000..669806826d --- /dev/null +++ b/test/pending/pos/t0576.scala @@ -0,0 +1,9 @@ +class Test { + new Object { self => + def f(other: Any): Boolean = + other match { + case that: self.type => true + case _ => false + } + } +} |