URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [pmf5.C] - Rev 384
Compare with Previous | Blame | View Log
// { 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 *-*-* } 18 }