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
Pizza-lize :-)
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
access3.C
1
// { dg-do compile }
2
// { dg-options "-fno-access-control" }
3
4
// PR c++/20022
5
6
// Make sure -fno-access-control doesn't crash, and actually grants at
7
// least some access.
8
9
class B {
10
enum A {};
11
};
12
13
B::A r;