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 testsuite/25241
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
error1.C
1
// PR c++/34395
2
// { dg-do compile }
3
// { dg-options "-std=c++0x" }
4
5
template<int... N> void foo (int... x[N]) // { dg-error "int \\\[N\\\]\\.\\.\\. x" }
6
{
7
struct A
8
{
9
A () { x; } // { dg-error "use of parameter from containing function" }
10
};
11
}