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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-new2.C
blob
413e0701d7ae0bd610875852dc96a8e031271cfe
1
// { dg-do run { target c++11 } }
2
// PR c++/32597
3
#include <assert.h>
4
#include <new>
5
6
template< class... Args > void f( Args... args )
7
{
8
{
9
int x = 17;
10
(void)x;
11
}
12
13
{
14
int y(args...);
15
assert(y == 0);
16
}
17
18
}
19
20
int main()
21
{
22
f();
23
}