summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp
blob: a7e144537967cf522e5bceae3d0a2164896cab2f (plain)
1
2
3
4
5
6
7
8

enum SomeEnum : short;

void someFunc()
{
  SomeEnum value;
  int i = value;
}