Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
error1.C
blob: 33557f2f80b20d9b9f4391f15439fed882c957df [
file
] [
log
] [
blame
]
// PR c++/34395
// { dg-do compile { target c++11 } }
template
<
int
...
N
>
void
foo
(
int
...
x
[
N
])
// { dg-message "int \\\[N\\\]\\.\\.\\. x" }
{
struct
A
{
A
()
{
x
;
}
// { dg-error "use of parameter from containing function" }
};
}