Sign in
cobalt
/
cobalt
/
a3dd835b53c74ec0f3e791c01fbcde33bbf26c6d
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Analysis
/
block-in-critical-section.m
blob: 73d58479f4bf4afbbb8d8170751ac90a5e353b10 [
file
] [
log
] [
blame
]
// 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
];
}