OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR debug/43942
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic42.C
1
// { dg-options "-std=gnu++0x" }
2
// { dg-do compile }
3
template<typename... Args>
4
void f(Args...) { }
5
6
void g()
7
{
8
f<int*, float*, double*>(0, 0, 0);
9
f<int*>(0,0,0);
10
}
11
// { dg-final { scan-assembler "_Z1fIIPiPfPdEEvDpT_" } }
12
// { dg-final { scan-assembler "_Z1fIIPiiiEEvDpT_" } }