summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp1
-rw-r--r--libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp b/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
index ec4ad8a3bbc..a06f0443d70 100644
--- a/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
@@ -80,6 +80,7 @@
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wformat-zero-length"
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
int main()
{
diff --git a/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp b/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
index 99bbd3e9154..1cc2aa62032 100644
--- a/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
+++ b/libcxx/test/std/language.support/support.types/nullptr_t.pass.cpp
@@ -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() {
{
OpenPOWER on IntegriCloud