diff options
author | Martin Odersky <odersky@gmail.com> | 2014-05-16 11:55:36 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-05-30 14:38:00 +0200 |
commit | e42388682094c63055440c8915d8215935007584 (patch) | |
tree | a2a392d9ddc052b282c84b8c1c4a1a4793872679 /tests/pos/t2545.scala | |
parent | 05668169eca68bbdc777fbf698f92e256f8e50a9 (diff) | |
download | dotty-e42388682094c63055440c8915d8215935007584.tar.gz dotty-e42388682094c63055440c8915d8215935007584.tar.bz2 dotty-e42388682094c63055440c8915d8215935007584.zip |
Added t25xx tests
Diffstat (limited to 'tests/pos/t2545.scala')
-rwxr-xr-x | tests/pos/t2545.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pos/t2545.scala b/tests/pos/t2545.scala new file mode 100755 index 000000000..6ad994223 --- /dev/null +++ b/tests/pos/t2545.scala @@ -0,0 +1,10 @@ +trait Frog[T] { + def hello: T + def size: Int + } + + trait OnlyWithFrogs { + self: Frog[_] => + + def sizeStr = size.toString + } |