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
/
forw_enum15.C
blob
65816047432ebc12ad89484bfbc4580369cca777
1
// PR c++/49604
2
// { dg-do compile { target c++11 } }
3
4
struct Foo
5
{
6
private:
7
int val;
8
enum impl_t : int;
9
public:
10
Foo(impl_t v) : val(v) {}
11
};
12
enum Foo::impl_t : int { X };
13
14
Foo test = Foo::X; // { dg-error "private" }