aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/variadic148.C
blob: a4ee63533da9d5fe09a68ee43436d4062f8c14e4 (plain)
1
2
3
4
5
6
// PR c++/59989
// { dg-require-effective-target c++11 }

template<typename T> struct X {};
template<template<typename...> class D, typename ...U> int test(D<U...>*);
int n = test<X, int>(0);	// { dg-error "no match" }