Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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 }