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
/
variadic-ex11.C
blob
9991fa2fd5161ab0a64b2a0c04ad5cae39b5497c
1
// { dg-do compile { target c++11 } }
2
template<typename... Types>
3
void f(Types... args);
4
5
void g() {
6
f(); // okay: args contains no arguments
7
f(1); // okay: args contains one int argument
8
(2, 1.0); // okay: args contains two arguments, an int and a double
9
}