2 // GROUPS passed miscellaneous-bugs
7 operator const char *() const;
9 class FwtErrorManager {
11 FwtErrorManager(ostream& err, const char *program);
13 void form(const char *format, ...);
15 const String _program;
17 FwtErrorManager(const FwtErrorManager&);
18 void operator=(const FwtErrorManager&);
20 class FwtProgram: public FwtErrorManager {
24 class FwtArgOptions { };
25 class FwtStdProgram: public FwtProgram, public FwtArgOptions {
28 void usage_if_not_complete();
31 FwtStdProgram::usage_if_not_complete()
33 FwtStdProgram& thisp = *this;
34 thisp.form("%s: error, there were unrecognized options",
35 (char *) FwtErrorManager::_program);// { dg-error "" } .*