summaryrefslogtreecommitdiff
path: root/test/pending/run
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-02-19 00:03:55 -0800
committerPaul Phillips <paulp@improving.org>2012-02-19 00:19:12 -0800
commit87e369ef46bd2ca569ffd1cd6f3a554f1d645dc9 (patch)
tree4e3ab65d04eefe10a49ee97bcca254f10db1c52f /test/pending/run
parentec160bae7e2935d98bf71cfb6dcba61f1979b854 (diff)
downloadscala-87e369ef46bd2ca569ffd1cd6f3a554f1d645dc9.tar.gz
scala-87e369ef46bd2ca569ffd1cd6f3a554f1d645dc9.tar.bz2
scala-87e369ef46bd2ca569ffd1cd6f3a554f1d645dc9.zip
More specialization tests.
Some in pending, some in files. Closes SI-4770.
Diffstat (limited to 'test/pending/run')
-rw-r--r--test/pending/run/t4770.check2
-rw-r--r--test/pending/run/t4770.scala15
2 files changed, 0 insertions, 17 deletions
diff --git a/test/pending/run/t4770.check b/test/pending/run/t4770.check
deleted file mode 100644
index 38e5a831fa..0000000000
--- a/test/pending/run/t4770.check
+++ /dev/null
@@ -1,2 +0,0 @@
-(a,2)
-(2,a)
diff --git a/test/pending/run/t4770.scala b/test/pending/run/t4770.scala
deleted file mode 100644
index 25bf3050c3..0000000000
--- a/test/pending/run/t4770.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-package crasher {
- class Z[@specialized A, @specialized(AnyRef) B](var a: A, var b: B) {
- override def toString = "" + ((a, b))
- }
- object O {
- def apply[@specialized A, @specialized(AnyRef) B](a0: A, b0: B) = new Z(a0, b0)
- }
-}
-
-object Test {
- def main(args: Array[String]): Unit = {
- println(crasher.O("a", 2))
- println(crasher.O(2, "a"))
- }
-}