1 // RUN: %clang_analyze_cc1 -fblocks -analyzer-checker=core -verify %s
3 // For now, don't inline varargs.
4 void foo(int *x
, ...) {
9 foo(0, 2); // no-warning
12 // For now, don't inline vararg blocks.
13 void (^baz
)(int *x
, ...) = ^(int *x
, ...) { *x
= 1; };
16 baz(0, 2); // no-warning
19 // For now, don't inline global blocks.
20 void (^qux
)(int *p
) = ^(int *p
) { *p
= 1; };
26 void test_analyzer_is_running(void) {
28 *p
= 0xDEADBEEF; // expected-warning {{null}}