repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error20.C
blob
ee7390a633c7716c3d6d45a1b69331d03a136af3
1
// PR c++/17821
2
3
struct A {
4
A(int i) {}
5
};
6
struct B {
7
int i;
8
};
9
struct C {
10
B* p;
11
};
12
int main() {
13
C c;
14
A(c.p.i); // { dg-error "member.*non-class" }
15
return 0;
16
}
17