summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic92.C
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-13 16:28:05 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-11-13 16:29:09 +0000
commit03ac50856c9fc8c96b7a17239ee40a10397750a7 (patch)
treea648c6d3428e4757e003f6ed1748adb9613065db /gcc/testsuite/g++.dg/cpp0x/variadic92.C
parent34efdaf078b01a7387007c4e6bde6db86384c4b7 (diff)
downloadgcc-tarball-03ac50856c9fc8c96b7a17239ee40a10397750a7.tar.gz
gcc 7.2.0
This is imported manually due to a bug in the tarball import script. See the baserock-dev mailing list archives (November 2017) for a more detailed explaination of the issue.
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/variadic92.C')
-rw-r--r--gcc/testsuite/g++.dg/cpp0x/variadic92.C70
1 files changed, 0 insertions, 70 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/variadic92.C b/gcc/testsuite/g++.dg/cpp0x/variadic92.C
deleted file mode 100644
index 99159a2c15..0000000000
--- a/gcc/testsuite/g++.dg/cpp0x/variadic92.C
+++ /dev/null
@@ -1,70 +0,0 @@
-// Various tests for variadic templates and partial specialization.
-// { dg-do compile { target c++11 } }
-
-// PR c++/36846
-template<typename A, typename B>
-struct pair;
-
-template<typename... T>
-struct pairs;
-
-template<typename... AS, typename... BS>
-struct pairs<pair<AS, BS>...> {
- struct mismatched_packs {};
-};
-
-template class pairs<
- pair<int, int>,
- pair<int, int>
->;
-
-template<int A, int B>
-struct point;
-
-template<typename... T>
-struct points;
-
-template<int... AS, int... BS>
-struct points<point<AS, BS>...> {
- struct mismatched_packs {};
-};
-
-template class points<
- point<0, 1>,
- point<0, 1>
->;
-
-// PR c++/35477
-template <class...ARGS> struct tuple {};
-template <class A, class B> struct test {};
-template <class... ARGS, class B> struct test<B, tuple<ARGS...>>
-{
- template <class T> struct inside {};
-};
-
-// PR c++/38276
-template<typename...> struct A;
-
-template<typename, typename> struct B;
-
-template<typename... T, typename... U> struct B<A<T...>, A<U...> >
-{
- static int i;
-};
-
-B<A<>, A<int> > b1;
-
-B<A<int>, A<> > b2;
-
-// PR c++/35784
-template <typename...> struct p;
-
-template <typename, typename> struct d;
-
-template <typename... A, typename... B>
-struct d<p<A...>, p<B...> > { typedef int t; };
-
-typedef d<p<>, p<int, float> >::t q;
-typedef d<q, d<p<int>, p<float> >::t> r; // *
-
-typedef d<d<p<>, p<int, float> >::t, d<p<>, p<> >::t> s;