summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/input/java/synchronized.java
blob: 369394b86a9ea9360780bdf9b1a1222cb617cd9f (plain)
1
2
3
4
5
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();}}
}