diff options
Diffstat (limited to 'test/files/run/t8601e/StaticInit.java')
-rw-r--r-- | test/files/run/t8601e/StaticInit.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t8601e/StaticInit.java b/test/files/run/t8601e/StaticInit.java new file mode 100644 index 0000000000..7543ed98b8 --- /dev/null +++ b/test/files/run/t8601e/StaticInit.java @@ -0,0 +1,8 @@ +public class StaticInit { + static { + if ("".isEmpty()) { + throw new RuntimeException(); + } + } + public static int fld = 42; +} |