Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr66130.C
blob: 5d4a72e1a7bf81e41e8ce64d09ef5de1a11a99d1 [
file
] [
log
] [
blame
]
// PR c++/66130
// { dg-do compile { target c++11 } }
struct
Local
{
void
f
();
};
Local
*
l
;
void
(
Local
::*
ptr
)();
decltype
((
l
->*
ptr
))
i
;
// { dg-error "member function of type 'void \\(Local::\\)\\(\\)'" }