using30.C: Move...
authorPaolo Carlini <paolo@gcc.gnu.org>
Fri, 19 Dec 2014 17:47:58 +0000 (17:47 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 19 Dec 2014 17:47:58 +0000 (17:47 +0000)
2014-12-19  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/template/using30.C: Move...
* g++.dg/cpp0x/alias-decl-45.C: ... here.

From-SVN: r218959

gcc/testsuite/g++.dg/cpp0x/alias-decl-45.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/using30.C [deleted file]

diff --git a/gcc/testsuite/g++.dg/cpp0x/alias-decl-45.C b/gcc/testsuite/g++.dg/cpp0x/alias-decl-45.C
new file mode 100644 (file)
index 0000000..e3434f5
--- /dev/null
@@ -0,0 +1,24 @@
+// PR c++/61198
+// { dg-do compile { target c++11 } }
+
+template<int herp, typename derp_t>
+struct broken
+{
+       template<typename target_t>
+       using rebind = broken<herp, target_t>;
+};
+
+template<typename derp_t>
+struct broken<2, derp_t>
+{
+       template<typename target_t>
+       using rebind = broken<2, target_t>;
+};
+
+int main(int argc, char **argv)
+{              
+       broken<2, float>::rebind<double> u;
+
+       return 0;
+}
+
diff --git a/gcc/testsuite/g++.dg/template/using30.C b/gcc/testsuite/g++.dg/template/using30.C
deleted file mode 100644 (file)
index 17a3c1e..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// { dg-do compile }
-// PR/61198
-
-template<int herp, typename derp_t>
-struct broken
-{
-       template<typename target_t>
-       using rebind = broken<herp, target_t>;
-};
-
-template<typename derp_t>
-struct broken<2, derp_t>
-{
-       template<typename target_t>
-       using rebind = broken<2, target_t>;
-};
-
-int main(int argc, char **argv)
-{              
-       broken<2, float>::rebind<double> u;
-
-       return 0;
-}
-