diff --git a/clang/test/Analysis/fuchsia_handle.cpp b/clang/test/Analysis/fuchsia_handle.cpp index dade5261bd78e..d104b13c77abf 100644 --- a/clang/test/Analysis/fuchsia_handle.cpp +++ b/clang/test/Analysis/fuchsia_handle.cpp @@ -77,7 +77,9 @@ void handleDieBeforeErrorSymbol01() { void handleDieBeforeErrorSymbol02() { zx_handle_t sa, sb; zx_status_t status = zx_channel_create(0, &sa, &sb); - // expected-note@-1 {{Handle allocated through 2nd parameter}} + // FIXME: There appears to be non-determinism in choosing + // which handle to report. + // expected-note-re@-3 {{Handle allocated through {{(2nd|3rd)}} parameter}} if (status == 0) { // expected-note {{Assuming 'status' is equal to 0}} // expected-note@-1 {{Taking true branch}} return; // expected-warning {{Potential leak of handle}}