diff options
author | Samuel Gruetter <samuel.gruetter@epfl.ch> | 2014-03-19 17:53:49 +0100 |
---|---|---|
committer | Samuel Gruetter <samuel.gruetter@epfl.ch> | 2014-03-19 17:53:49 +0100 |
commit | d51d08b444e0ea4a2c13b4daf0ce14b53bfbad89 (patch) | |
tree | 1d3a66fc0f5f839a561a2987159cb5b841b89257 /tests/untried/neg-with-implicits/t6335.scala | |
parent | 24ac35546c2c159403e91144e0e4add585ee9ae5 (diff) | |
download | dotty-d51d08b444e0ea4a2c13b4daf0ce14b53bfbad89.tar.gz dotty-d51d08b444e0ea4a2c13b4daf0ce14b53bfbad89.tar.bz2 dotty-d51d08b444e0ea4a2c13b4daf0ce14b53bfbad89.zip |
move all tests in tests/untried/neg which use implicits to tests/untried/neg-with-implicits
Diffstat (limited to 'tests/untried/neg-with-implicits/t6335.scala')
-rw-r--r-- | tests/untried/neg-with-implicits/t6335.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg-with-implicits/t6335.scala b/tests/untried/neg-with-implicits/t6335.scala new file mode 100644 index 000000000..6c898af5b --- /dev/null +++ b/tests/untried/neg-with-implicits/t6335.scala @@ -0,0 +1,7 @@ +object ImplicitClass { + def X(i: Int): Unit = {} + implicit class X(val x: Int) { def xx = x } + + def Z[A](i: A): Unit = {} + implicit class Z[A](val i: A) { def zz = i } +} |