]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR testsuite/81056 (FAIL: 17_intro/names.cc (test for excess errors))
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 11 Nov 2017 16:11:50 +0000 (16:11 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 11 Nov 2017 16:11:50 +0000 (16:11 +0000)
Backport from mainline
2017-08-20  John David Anglin  <danglin@gcc.gnu.org>

PR testsuite/81056
* testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__.

From-SVN: r254655

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/17_intro/names.cc

index d9dc75e6942ada0fcc49b7dfcc9cbafc11fd3512..cbe0fc5daa89496b1615af699cd9fdcf028c513c 100644 (file)
@@ -1,3 +1,11 @@
+2017-11-11  John David Anglin  <danglin@gcc.gnu.org>
+
+       Backport from mainline
+       2017-08-20  John David Anglin  <danglin@gcc.gnu.org>
+
+       PR testsuite/81056
+       * testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__.
+
 2017-10-25  Jonathan Wakely  <jwakely@redhat.com>
 
        * doc/xml/manual/status_cxx1998.xml: Correct statement about
index c52586156630d13cb24ece70a7568c52503a8f1a..1873deb6936a41f65975e22296b9fe44abc66860 100644 (file)
 #undef y
 #endif
 
+#ifdef __hpux__
+#undef d
+#undef r
+#endif
+
 #include <bits/stdc++.h>