Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv12.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 // PR c++/80767 | 1 // PR c++/80767 |
2 // { dg-do compile { target c++11 } } | 2 // { dg-do compile { target c++11 } } |
3 // { dg-additional-options "-Wno-return-type" } | |
3 | 4 |
4 template <typename T, typename U = T> struct A { using type = U; }; | 5 template <typename T, typename U = T> struct A { using type = U; }; |
5 template <typename F, typename... G> struct B : B<F>::type, B<G...>::type { | 6 template <typename F, typename... G> struct B : B<F>::type, B<G...>::type { |
6 using type = B; | 7 using type = B; |
7 using B<F>::type::operator(); | 8 using B<F>::type::operator(); |