1 // RUN: %clang_analyze_cc1 -w -analyzer-checker=core -verify %s
3 // expected-no-diagnostics
10 toggle
get_global_toggle() { return global_toggle
; }
14 bool compare(toggle one
, bool other
) {
15 if (one
.value
!= other
)
29 compare(get_global_toggle(), left
) && compare(get_global_toggle(), right
);