llvm-project/clang/test/Analysis/block-in-critical-section.c
Endre Fülöp 6ef785c951
[clang][analyzer] Move unix.BlockInCriticalSection out of alpha (#93815)
After recent improvements (#80029) and testing on open-source projects,
the checker is ready to move out of the alpha package.
2024-06-03 14:23:58 +02:00

7 lines
180 B
C

// 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(); }