Fix a file name.
authorMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 19 Dec 2017 15:06:18 +0000 (15:06 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 19 Dec 2017 15:06:18 +0000 (15:06 +0000)
From-SVN: r255826

gcc/testsuite/g++.dg/abi/pr83489.C [new file with mode: 0644]
gcc/testsuite/g++.dg/abi/pr83490.C [deleted file]

diff --git a/gcc/testsuite/g++.dg/abi/pr83489.C b/gcc/testsuite/g++.dg/abi/pr83489.C
new file mode 100644 (file)
index 0000000..aee04ec
--- /dev/null
@@ -0,0 +1,17 @@
+// PR c++/83489
+// { dg-options "-Wabi" }
+
+struct A
+{
+  A foo(void i = 0);  // { dg-error "incomplete type|invalid use" }
+};
+
+void bar()
+{
+  A().foo();
+}
+
+A A::foo(void i)  // { dg-error "incomplete type|invalid use" }
+{
+  return A();
+}
diff --git a/gcc/testsuite/g++.dg/abi/pr83490.C b/gcc/testsuite/g++.dg/abi/pr83490.C
deleted file mode 100644 (file)
index aee04ec..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// PR c++/83489
-// { dg-options "-Wabi" }
-
-struct A
-{
-  A foo(void i = 0);  // { dg-error "incomplete type|invalid use" }
-};
-
-void bar()
-{
-  A().foo();
-}
-
-A A::foo(void i)  // { dg-error "incomplete type|invalid use" }
-{
-  return A();
-}