diff options
Diffstat (limited to 'tests/features1921/java21/UnnamedClassWithSimpleMainMethodPreview1.java')
-rw-r--r-- | tests/features1921/java21/UnnamedClassWithSimpleMainMethodPreview1.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/features1921/java21/UnnamedClassWithSimpleMainMethodPreview1.java b/tests/features1921/java21/UnnamedClassWithSimpleMainMethodPreview1.java new file mode 100644 index 000000000..a9ecd1d7e --- /dev/null +++ b/tests/features1921/java21/UnnamedClassWithSimpleMainMethodPreview1.java @@ -0,0 +1,6 @@ +/** + * Example according to <a href="https://openjdk.org/jeps/445">JEP 445</a> + */ +void main() { + System.out.println("Hello world!"); +} |