Suppress some warnings in the tests that snuck in. That 'tmpnam' is deprecated doesn't change the fact that we have to test it.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@247704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow 2015-09-15 17:12:49 +00:00
parent c2d317f1a2
commit 41a04d69c4
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-zero-length"
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
int main()
{

View File

@ -54,7 +54,7 @@ void test_comparisons()
#if defined(__clang__)
#pragma clang diagnostic push
#pragma diagnostic ignored "-Wnull-conversion"
#pragma clang diagnostic ignored "-Wnull-conversion"
#endif
void test_nullptr_conversions() {
{