repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex2.C
blob
8af3979d28d321023b1bb8f5cbbde9b56acbbb5b
1
// { dg-do compile { target c++11 } }
2
template<class... Types> struct B {
3
void f3();
4
void f4();
5
};
6
7
template<class... Types> void B<Types...>::f3() { } // OK
8
template<class... Types> void B<Types>::f4() { } // { dg-error "packs not expanded" }