Fix wrong PR references
authorPatrick Palka <ppalka@gcc.gnu.org>
Thu, 17 Dec 2015 13:30:04 +0000 (13:30 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Thu, 17 Dec 2015 13:30:04 +0000 (13:30 +0000)
PR c++/59878 -> PR c++/59879

From-SVN: r231755

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/pr59878.C [deleted file]
gcc/testsuite/g++.dg/conversion/pr59879.C [new file with mode: 0644]

index 14292e9fab350cd6ec26c2665e2956eed59adaa0..a192f00713d1a501c59872f76ec40ad35ed1c646 100644 (file)
@@ -2,7 +2,7 @@
 
        PR c++/16333
        PR c++/41426
-       PR c++/59878
+       PR c++/59879
        PR c++/66895
        * typeck.c (convert_for_initialization): Don't perform an early
        decaying conversion if converting to a class type.
index fafa8cc4dec07ca25e65d558bfa505b2a332db96..7386f6b055ce8672d0a41f422e663d59120c92d4 100644 (file)
 
        PR c++/16333
        PR c++/41426
-       PR c++/59878
+       PR c++/59879
        PR c++/66895
        * g++.dg/conversion/pr16333.C: New test.
        * g++.dg/conversion/pr41426.C: New test.
-       * g++.dg/conversion/pr59878.C: New test.
+       * g++.dg/conversion/pr59879.C: New test.
        * g++.dg/conversion/pr66895.C: New test.
 
 2015-12-16  Martin Sebor  <msebor@redhat.com>
diff --git a/gcc/testsuite/g++.dg/conversion/pr59878.C b/gcc/testsuite/g++.dg/conversion/pr59878.C
deleted file mode 100644 (file)
index ed567fe..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-// PR c++/59878
-
-struct Test {
- template <int N>
- Test(const char (&array)[N]) {}
-};
-
-Test test() {
- return "test1";
-}
-
-void test2(Test arg = "test12") {}
-
-template <typename T>
-void test3(T arg = "test123") {}
-
-template <typename T>
-void test4(const T &arg = "test123") {}
-
-int main() {
- test();
- test2();
- test3<Test>();
- test4<Test>();
-}
diff --git a/gcc/testsuite/g++.dg/conversion/pr59879.C b/gcc/testsuite/g++.dg/conversion/pr59879.C
new file mode 100644 (file)
index 0000000..7bd5b99
--- /dev/null
@@ -0,0 +1,25 @@
+// PR c++/59879
+
+struct Test {
+ template <int N>
+ Test(const char (&array)[N]) {}
+};
+
+Test test() {
+ return "test1";
+}
+
+void test2(Test arg = "test12") {}
+
+template <typename T>
+void test3(T arg = "test123") {}
+
+template <typename T>
+void test4(const T &arg = "test123") {}
+
+int main() {
+ test();
+ test2();
+ test3<Test>();
+ test4<Test>();
+}