diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-07-08 15:58:56 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-07-08 15:58:56 +0000 |
commit | 0cbeaf17d85d4925939d51938826c318db667c50 (patch) | |
tree | b2e6ef02eff333bbe4bd97ccc585294c2f098169 /test/files/pos/t3249 | |
parent | 3c85f135693904cc0f433406c88842aa79e0140e (diff) | |
download | scala-0cbeaf17d85d4925939d51938826c318db667c50.tar.gz scala-0cbeaf17d85d4925939d51938826c318db667c50.tar.bz2 scala-0cbeaf17d85d4925939d51938826c318db667c50.zip |
closes #3249.
review by dragos
Diffstat (limited to 'test/files/pos/t3249')
-rw-r--r-- | test/files/pos/t3249/Test.java | 5 | ||||
-rw-r--r-- | test/files/pos/t3249/a.scala | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/files/pos/t3249/Test.java b/test/files/pos/t3249/Test.java new file mode 100644 index 0000000000..4cc7cb2ab5 --- /dev/null +++ b/test/files/pos/t3249/Test.java @@ -0,0 +1,5 @@ +public class Test { + public static void meh() { + new A<Integer>().f(); + } +}
\ No newline at end of file diff --git a/test/files/pos/t3249/a.scala b/test/files/pos/t3249/a.scala new file mode 100644 index 0000000000..0394464549 --- /dev/null +++ b/test/files/pos/t3249/a.scala @@ -0,0 +1,11 @@ +class A[U] { def f[T] = { class X extends A[T] } } + + +/* +$ scalac a.scala +$ javac -cp .:$SCALA_HOME/lib/scala-library.jar -Xprint 'A$X$1' + + public class X$1 extends A<java.lang.Object> implements scala.ScalaObject { + public X$1(A<U> null); + } +*/
\ No newline at end of file |