blob: 29ce8157a7ca4e8c17f6e655971aa856c73e10f4 [file] [log] [blame]
// PR c++/56059
// { dg-options -std=c++11 }
typedef int Int;
template<typename T> struct baz { };
template<typename T> T bar();
template<typename T, typename ... U>
baz<decltype(bar<Int>(bar<U>() ...))> // { dg-error "no match" }
foo();
int main()
{
foo<int, int>(); // { dg-error "no match" }
return 0;
}