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 / lineno.C
1 // { dg-do assemble  }
2 // Bug; g++ binds a function definition to the line number of a later decl.
3
4 void foo () { }                 // { dg-error "" } redeclared
5 void foo ();                    // { dg-bogus "" } invalid binding
6 void foo () { }                 // { dg-error "" } redeclared