summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/variadic169.C
blob: 6858973cd2eb05633d38bb71b337e73eb8a1f021 (plain)
1
2
3
4
5
6
7
8
9
// DR 2233
// { dg-do compile { target c++11 } }

template<typename ...T> void f(int n = 0, T ...t);

int main()
{
  f<int>();			// { dg-error "too few arguments" }
}