aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg3.C
blob: 1d115e6c46af262ae071108f00dd3d8bc1a5a1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Build don't link: 
// GROUPS passed error-messages
#include <fstream.h>
#include <iomanip.h>

// 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;
}