Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
forw_enum14.C
blob: ac38c18386372810f6f1d39b032ac262ce827a43 [
file
] [
log
] [
blame
]
// PR c++/49604
// { dg-do compile { target c++11 } }
class
MyTable
{
public
:
enum
Constants
:
unsigned
;
};
enum
MyTable
::
Constants
:
unsigned
{
LENGTH
=
12
,
};
int
main
()
{
return
MyTable
::
LENGTH
;
}