[libc++] Fix copy/paste error that broke a test

This commit is contained in:
Louis Dionne 2020-09-21 20:28:14 -04:00
parent 94b0d836a1
commit ac65e3d2ce
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ int main(int, char**)
assert(test_deleter<A>::count == 1);
assert(test_deleter<A>::dealloc_count == 0);
#ifndef TEST_HAS_NO_RTTI
std::get_deleter<test_deleter<A> >(p)
test_deleter<A>* d = std::get_deleter<test_deleter<A> >(p);
assert(d);
assert(d->state() == 3);
#endif