repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged revisions 208012,208018-208019,208021,208023-208030,208033,208037,208040-20804...
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr31432.C
blob
1f2ea50972e7df0863895af736a57b5ff4254079
1
// { dg-do compile { target c++11 } }
2
template<typename..., typename> struct A // { dg-error "parameter pack" }
3
{
4
static int i;
5
};
6
7
A<int, int> a; // { dg-error "mismatch|expected|invalid type" }
8
A<char,int> b; // { dg-error "mismatch|expected|invalid type" }