OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* name-lookup.c (current_decl_namespace): Non-static.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
error1.C
1
// PR 12486
2
3
struct A { int ma; };
4
struct B { };
5
6
void foo()
7
{
8
B *b;
9
b->A::ma=0; // { dg-error "" }
10
}