diff options
Diffstat (limited to 'clang/test/Analysis/symbol-reaper.c')
-rw-r--r-- | clang/test/Analysis/symbol-reaper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Analysis/symbol-reaper.c b/clang/test/Analysis/symbol-reaper.c index a47161bea2e..ef8ff18a2d8 100644 --- a/clang/test/Analysis/symbol-reaper.c +++ b/clang/test/Analysis/symbol-reaper.c @@ -85,8 +85,7 @@ void test_loc_as_integer_element_index_lifetime() { x = (int)&(s->field); ptr = &arr[x]; if (s) {} - // FIXME: Should not warn. The symbol is still alive within the ptr's index. - } while (0); // expected-warning{{SYMBOL DEAD}} + } while (0); } // Test below checks lifetime of SymbolRegionValue in certain conditions. |