Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5696.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-ice10.C
blob: 1ea59c21c843f0c1cc43c8a7bf9cde98053c784c [
file
] [
log
] [
blame
]
// PR c++/58568
// { dg-do compile { target c++11 } }
template
<int>
struct
A
{
static
const
int
i
;
template
<
int
N
>
const
int
A
<
N
>::
i
=
[]{
return
0
;
}();
// { dg-error "invalid use" }
};