summaryrefslogtreecommitdiff
path: root/test/Analysis/symbol-reaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/symbol-reaper.c')
-rw-r--r--test/Analysis/symbol-reaper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Analysis/symbol-reaper.c b/test/Analysis/symbol-reaper.c
index a47161bea2e3a..ef8ff18a2d831 100644
--- a/test/Analysis/symbol-reaper.c
+++ b/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.