1 // RUN: clang-cc -emit-llvm -triple=i686-apple-darwin9 -o %t %s -O2
2 // RUN: grep 'ret i32' %t | count 1
3 // RUN: grep 'ret i32 1' %t | count 1
11 @implementation MyClass
30 @synchronized((x++, a)) {
32 return x; // ret i32 1
36 // The trick here is that the return shouldn't go through clean up,
37 // but there isn't a simple way to check this property.
38 @synchronized(({ return; }), a) {