Fix failure when -fno-rtti test is run in C++17 or later
authorJonathan Wakely <jwakely@redhat.com>
Thu, 23 Aug 2018 19:27:54 +0000 (20:27 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 23 Aug 2018 19:27:54 +0000 (20:27 +0100)
commit763ef11bffdcbff30062c44c220c9b6dcbe019dc
tree7d2988a0ec082f05fd73e593c67b7f4c949d7cd7
parent429ca5b4809f0109ccd84984477b436cd35b677c
Fix failure when -fno-rtti test is run in C++17 or later

* testsuite/util/testsuite_allocator.h (__gnu_test::memory_resource):
Only define when RTTI is enabled.

From-SVN: r263820
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/testsuite_allocator.h