diff options
Diffstat (limited to 'tests/untried/neg/primitive-sigs-1/J.java')
-rw-r--r-- | tests/untried/neg/primitive-sigs-1/J.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/neg/primitive-sigs-1/J.java b/tests/untried/neg/primitive-sigs-1/J.java new file mode 100644 index 000000000..2e43b8330 --- /dev/null +++ b/tests/untried/neg/primitive-sigs-1/J.java @@ -0,0 +1,8 @@ +// java: often the java or scala compiler will save us from +// the untruth in the signature, but not always. +public class J { + public static Integer f(AC<Integer> x) { return x.f(); } + public static void main(String[] args) { + f(new Bippy()); + } +} |