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
2011-10-16 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-new2.C
1
// { dg-do run }
2
// { dg-options "-std=c++0x" }
3
// PR c++/32597
4
#include <assert.h>
5
#include <new>
6
7
template< class... Args > void f( Args... args )
8
{
9
{
10
int x = 17;
11
(void)x;
12
}
13
14
{
15
int y(args...);
16
assert(y == 0);
17
}
18
19
}
20
21
int main()
22
{
23
f();
24
}