Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/variadic169.C

raw
1 // DR 2233
2 // { dg-do compile { target c++11 } }
3
4 template<typename ...T> void f(int n = 0, T ...t);
5
6 int main()
7 {
8 f<int>(); // { dg-error "too few arguments" }
9 }