You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class %s
|
|
// expected-no-diagnostics
|
|
|
|
@interface SomeClass
|
|
-(void)someMethod;
|
|
@end
|
|
|
|
void shouldNotCrash(SomeClass *o) {
|
|
[o someMethod];
|
|
}
|