]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr31437.C
call.c (struct conversion_info): Rename 'from_type' to 'from'.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr31437.C
1 // { dg-do compile { target c++11 } }
2 template <typename... T> struct A // { dg-message "candidates|A" }
3 {
4 A(T* p) { // { dg-error "parameter packs|T" }
5 (A<T...>*)(p);
6 }
7 };
8
9 A<int> a(0); // { dg-error "no matching" }