* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / forw_enum15.C
blob65816047432ebc12ad89484bfbc4580369cca777
1 // PR c++/49604
2 // { dg-do compile { target c++11 } }
4 struct Foo
6 private:
7     int val;
8     enum impl_t : int;
9 public:
10     Foo(impl_t v) : val(v) {}
12 enum Foo::impl_t : int { X };
14 Foo test = Foo::X;  // { dg-error "private" }