repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
err-msg3.C
blob
724c6f5c320c2ed6221bbd7eabfeffcdb794a054
1
// { dg-do assemble }
2
// GROUPS passed error-messages
3
#include <fstream>
4
#include <iomanip>
5
6
// This error should not appear:
7
// bug.C: In method `test::test(const class test &)':
8
// bug.C:8: field `' not in immediate context
9
10
class test{
11
public:
12
int flags;
13
test() {}
14
};
15
16
int main()
17
18
{
19
return 0;
20
}