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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum33.C
blob
ac39741aa538cecb63d833eee88262cfaca7537c
1
// PR c++/70241
2
// { dg-do compile { target c++11 } }
3
4
class A {
5
public:
6
enum B : int;
7
enum class C : int;
8
private:
9
enum B : int { }; // { dg-error "different access" }
10
enum class C : int { }; // { dg-error "different access" }
11
};