aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/err-msg3.C
blob: 76a084090aea091f748c99668e68e9494728963a (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>
#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;
}