blob: 3380685b18f8df24c7dffb54dd2b1884f0298685 [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed error-messages
#include <fstream>
#include <iomanip>
// This error should not appear:
// bug.C: In method `test::test(const class test &)':
// bug.C:8: field `' not in immediate context
class test{
public:
int flags;
test() {};
};
int main()
{
return 0;
}