Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr84676.C
blob: 0bd8cc00c2c787acfbdf892c4b165748e8535726 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
int
a
;
void
b
(
__attribute__
((
c
([](
int
*)
{}
(
a
==
(
0
=
auto
))))));
// { dg-error "6:variable or field .b. declared void" }
// { dg-error "expected" "" { target c++11 } .-1 }