Lines Matching refs:synchronized
5 /* Test that the compiler is checking the argument of @synchronized(),
33 @synchronized (x) /* { dg-error ".@synchronized. argument is not an object" } */
39 @synchronized (x) /* { dg-error ".@synchronized. argument is not an object" } */
45 @synchronized (x) /* { dg-error ".@synchronized. argument is not an object" } */
51 @synchronized (x) /* { dg-error ".@synchronized. argument is not an object" } */
57 @synchronized (x) /* { dg-error ".@synchronized. argument is not an object" } */
63 @synchronized (x) /* Ok */
69 @synchronized (x) /* Ok */
75 @synchronized (x) /* Ok */
81 @synchronized (x) /* Ok */
87 @synchronized (x) /* Ok */
93 @synchronized (x) /* Ok */
99 @synchronized (x) /* Ok */
105 @synchronized (x) /* Ok */
111 @synchronized (x) /* Ok */
115 @synchronized (1) /* { dg-error ".@synchronized. argument is not an object" } */
118 @synchronized ("Test") /* { dg-error ".@synchronized. argument is not an object" } */
121 @synchronized () /* { dg-error "expected expression" } */
124 @synchronized (int) /* { dg-error "expected expression" } */