diff options
Diffstat (limited to 'test/pending')
-rwxr-xr-x | test/pending/pos/sig/sigs.java | 5 | ||||
-rwxr-xr-x | test/pending/pos/sig/sigs.scala | 6 | ||||
-rwxr-xr-x | test/pending/pos/sig/sigtest.scala | 3 |
3 files changed, 14 insertions, 0 deletions
diff --git a/test/pending/pos/sig/sigs.java b/test/pending/pos/sig/sigs.java new file mode 100755 index 0000000000..0fc0c7008f --- /dev/null +++ b/test/pending/pos/sig/sigs.java @@ -0,0 +1,5 @@ +package test; +class Test extends T { + Object y = bar("abc"); + String x = foo("abc"); +}
\ No newline at end of file diff --git a/test/pending/pos/sig/sigs.scala b/test/pending/pos/sig/sigs.scala new file mode 100755 index 0000000000..4579f225d9 --- /dev/null +++ b/test/pending/pos/sig/sigs.scala @@ -0,0 +1,6 @@ +package test +class T { + def foo[T](x: T): T = x + def bar[T](x: T): T = x +} + diff --git a/test/pending/pos/sig/sigtest.scala b/test/pending/pos/sig/sigtest.scala new file mode 100755 index 0000000000..1d091390f7 --- /dev/null +++ b/test/pending/pos/sig/sigtest.scala @@ -0,0 +1,3 @@ +object Test extends T with Application { + val x: String = foo("abc") +} |