☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-empty1.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/variadic-empty1.C
code
plain
raw
1
// PR c++/85093
2
// { dg-do compile { target c++11 } }
3
4
template<class V> class A {};
5
6
template<class V, class... G> class B {
7
typedef A<V,G...> AB; // { dg-error "arguments" }
8
AB ab;
9
};
10
11
int main() {
12
B<int,double> b;
13
}