We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7be03 commit bc759c4Copy full SHA for bc759c4
clang/test/Analysis/block-in-critical-section.c
@@ -0,0 +1,6 @@
1
+// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify %s
2
+// expected-no-diagnostics
3
+
4
+// This should not crash
5
+int (*a)(void);
6
+void b(void) { a(); }
0 commit comments