Sign in
llvm
/
llvm-project
/
refs/heads/revert-98016-undefined_internal_error
/
.
/
clang
/
test
/
Analysis
/
block-in-critical-section.c
blob: 36ecf9ac55f7df82e345fc379335be4f8b4a8ecb [
file
] [
log
] [
blame
]
// 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
();
}