OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / pmf5.C
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // PRMS Id: 4985
4
5 struct Thing {
6         int OverloadFn() const;
7         void FunctionA(char* restOfLine);
8         void OverloadFn(char* restOfLine);
9 };
10
11 struct ThingEntry {
12         void (Thing::*_handler)(char* restOfLine);
13 };
14
15 static ThingEntry KeyWordTable[] = {
16         &Thing::FunctionA,
17         Thing::OverloadFn,
18 };                              // { dg-error "assuming" "assuming" } implicit &
19 // { dg-message "note" "note" { target *-*-* } 18 }