diff options
Diffstat (limited to 'tests/options/WarnDeprecated.java')
-rw-r--r-- | tests/options/WarnDeprecated.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/options/WarnDeprecated.java b/tests/options/WarnDeprecated.java new file mode 100644 index 000000000..2d0d928a7 --- /dev/null +++ b/tests/options/WarnDeprecated.java @@ -0,0 +1,13 @@ + + + + +public class WarnDeprecated { + + /** @deprecated */ + public static void main(String[] args) { + if (null == args) { + main(new String[0]); // CE 10 deprecated if warn:deprecated + } + } +} |