mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Features: Add cxx_enum_forward_declarations.
This commit is contained in:
8
Tests/CompileFeatures/cxx_enum_forward_declarations.cpp
Normal file
8
Tests/CompileFeatures/cxx_enum_forward_declarations.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
enum SomeEnum : short;
|
||||
|
||||
void someFunc()
|
||||
{
|
||||
SomeEnum value;
|
||||
int i = value;
|
||||
}
|
||||
Reference in New Issue
Block a user