blob: fb7e1688145e61adaf0402f0c63d558cfef69553 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "" }
// PRMS Id: 4985
struct Thing {
int OverloadFn() const;
void FunctionA(char* restOfLine);
void OverloadFn(char* restOfLine);
};
struct ThingEntry {
void (Thing::*_handler)(char* restOfLine);
};
static ThingEntry KeyWordTable[] = {
&Thing::FunctionA,
Thing::OverloadFn,
}; // { dg-error "assuming" "assuming" } implicit &
// { dg-message "note" "note" { target *-*-* } .-1 }