mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 17:40:48 +08:00
re PR c++/57626 ([C++11] ICE with template alias and member function pointer)
2015-01-13 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57626 * g++.dg/cpp0x/vt-57626.C: New. From-SVN: r219546
This commit is contained in:
parent
b6a8baccac
commit
6e5a37dae7
@ -1,3 +1,8 @@
|
||||
2015-01-13 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/57626
|
||||
* g++.dg/cpp0x/vt-57626.C: New.
|
||||
|
||||
2015-01-13 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR fortran/64528
|
||||
|
14
gcc/testsuite/g++.dg/cpp0x/vt-57626.C
Normal file
14
gcc/testsuite/g++.dg/cpp0x/vt-57626.C
Normal file
@ -0,0 +1,14 @@
|
||||
// PR c++/57626
|
||||
// { dg-do compile { target c++11 } }
|
||||
|
||||
struct symbol_set{};
|
||||
|
||||
template <typename T, template <typename ...> class TT, typename ... Args>
|
||||
using bar = void(T::*)(TT<Args...> &, const symbol_set &);
|
||||
|
||||
struct converter
|
||||
{
|
||||
template <typename Term, typename ... Args,
|
||||
typename = decltype(bar<Term,Args...>(&Term::multiply))> // { dg-error "pack expansion" }
|
||||
converter(const Term &);
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user