diff options
Diffstat (limited to 'tests/untried/neg/t8376')
-rw-r--r-- | tests/untried/neg/t8376/J.java | 4 | ||||
-rw-r--r-- | tests/untried/neg/t8376/S.scala | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/neg/t8376/J.java b/tests/untried/neg/t8376/J.java new file mode 100644 index 000000000..29aa23da8 --- /dev/null +++ b/tests/untried/neg/t8376/J.java @@ -0,0 +1,4 @@ +class J { + public static void m(String... a) { } + public static void m(J... a) { } +} diff --git a/tests/untried/neg/t8376/S.scala b/tests/untried/neg/t8376/S.scala new file mode 100644 index 000000000..a19f0d3c0 --- /dev/null +++ b/tests/untried/neg/t8376/S.scala @@ -0,0 +1,4 @@ +object S { + J.m(0) + // the error message should show `T*` in the method signatures rather than `<repeated>[T]` +} |