repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex3.C
blob
60c47176d0029bb61989228e8faa517f424d6915
1
// { dg-options "-std=gnu++0x" }
2
template<class X, class Y, class... Z> X f(Y); // { dg-message "candidate" }
3
void g()
4
{
5
int i = f<int>(5.6);
6
int j = f(5.6); // { dg-error "no matching" }
7
f<void>(f<int, bool>);
8
f<void>(f<int>); // { dg-error "no matching" }
9
}