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
Add execution tests of ARM EXT intrinsics
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic118.C
blob
ee742ebb9463d3028b9119e3b9e036acbd1446f4
1
// This should fail deduction, before it produces a candidate.
2
// { dg-do compile { target c++11 } }
3
4
template <class... T>
5
void f(T... ts); // { dg-message "deduction" }
6
7
struct B { };
8
int main()
9
{
10
f<int>(B(), 1); // { dg-error "" }
11
}