summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/java/synchronized.java
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/java/synchronized.java')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/java/synchronized.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/java/synchronized.java b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/java/synchronized.java
new file mode 100644
index 00000000..369394b8
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/java/synchronized.java
@@ -0,0 +1,6 @@
+public class A{
+ private synchronized static void g(){int x=1;}
+ synchronized A f(){return null;}
+ public void foo(){
+ g(); synchronized(this){g();}g();synchronized(this){synchronized(this){synchronized(this){g();}}g();}synchronized(this){g();}}
+}