diff --git a/libcxxabi/test/unittest_demangle.pass.cpp b/libcxxabi/test/unittest_demangle.pass.cpp --- a/libcxxabi/test/unittest_demangle.pass.cpp +++ b/libcxxabi/test/unittest_demangle.pass.cpp @@ -7,15 +7,16 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03 +// ADDITIONAL_COMPILE_FLAGS: -Wno-unused-function -#include "../src/cxa_demangle.cpp" -#include "../src/abort_message.cpp" +#include +#include -using namespace __cxxabiv1; +#include "../src/demangle/ItaniumDemangle.h" void testPODSmallVector() { { // {push/pop}_back - PODSmallVector PSV; + itanium_demangle::PODSmallVector PSV; PSV.push_back(0); PSV.push_back(1); PSV.push_back(2); @@ -33,12 +34,12 @@ } { - PODSmallVector PSV1; + itanium_demangle::PODSmallVector PSV1; PSV1.push_back(1); PSV1.push_back(2); PSV1.push_back(3); - PODSmallVector PSV2; + itanium_demangle::PODSmallVector PSV2; std::swap(PSV1, PSV2); assert(PSV1.size() == 0); assert(PSV2.size() == 3); @@ -60,8 +61,8 @@ } { - PODSmallVector PSV1; - PODSmallVector PSV2; + itanium_demangle::PODSmallVector PSV1; + itanium_demangle::PODSmallVector PSV2; PSV1.push_back(0); PSV1.push_back(1); PSV1.push_back(2);