Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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::\\)\\(\\)'" }