diff options
Diffstat (limited to 'test/delombok/resource/after/SynchronizedName.java')
-rw-r--r-- | test/delombok/resource/after/SynchronizedName.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/delombok/resource/after/SynchronizedName.java b/test/delombok/resource/after/SynchronizedName.java index a3e64796..066e3bdf 100644 --- a/test/delombok/resource/after/SynchronizedName.java +++ b/test/delombok/resource/after/SynchronizedName.java @@ -17,4 +17,9 @@ class SynchronizedName { System.out.println("four"); } } + void test5() { + synchronized (read) { + System.out.println("five"); + } + } } |