Sign in
llvm
/
llvm-project
/
a78861fc55d18046989ff4d624a037e9181da170
/
.
/
clang
/
test
/
Analysis
/
block-in-critical-section.c
blob: 36ecf9ac55f7df82e345fc379335be4f8b4a8ecb [
file
]
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.BlockInCriticalSection -verify %s
// expected-no-diagnostics
// This should not crash
int
(*
a
)(
void
);
void
b
(
void
)
{
a
();
}