diff options
author | Paul Phillips <paulp@improving.org> | 2011-10-15 22:00:08 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-10-15 22:00:08 +0000 |
commit | 4d2499a835df386324290140d14e346db58b69cf (patch) | |
tree | 0a3d7259635b76b6a115932717a87d7db021f469 /test/files | |
parent | 5575b8c36859bc5d5f3a33b4491b98eed0260b8a (diff) | |
download | scala-4d2499a835df386324290140d14e346db58b69cf.tar.gz scala-4d2499a835df386324290140d14e346db58b69cf.tar.bz2 scala-4d2499a835df386324290140d14e346db58b69cf.zip |
Test case closes SI-3898, no review.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t3898.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t3898.scala b/test/files/pos/t3898.scala new file mode 100644 index 0000000000..ab47bbd877 --- /dev/null +++ b/test/files/pos/t3898.scala @@ -0,0 +1,6 @@ +trait Atomic[@specialized(Boolean) T] { + def x: T + + def f(fn: T => T): Boolean = f(fn(x), true) + def f[R](a: T, b: R): R = b +} |