1// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result 2// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t 3// RUN: diff %t %s.result 4// DISABLE: mingw32 5 6@interface NSAutoreleasePool 7- drain; 8+new; 9+alloc; 10-init; 11-autorelease; 12-release; 13@end 14 15void NSLog(id, ...); 16 17int main (int argc, const char * argv[]) { 18 @autoreleasepool { 19 @autoreleasepool { 20 21 while (argc) { 22 return 0; 23 } 24 25 } 26 } 27 28 return 0; 29} 30