diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-06 08:37:08 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:57 (GMT) |
commit | 16603f7cdb76ad4f9377d583b5234d92f85dd22d (patch) | |
tree | ef14240b716a7ee97645bdb059098fd636b1e899 /Tests/CompileFeatures/cxx_enum_forward_declarations.cpp | |
parent | adf22f611e2e4213df31cc7e1d8c1513847b72ff (diff) | |
download | CMake-16603f7cdb76ad4f9377d583b5234d92f85dd22d.zip CMake-16603f7cdb76ad4f9377d583b5234d92f85dd22d.tar.gz CMake-16603f7cdb76ad4f9377d583b5234d92f85dd22d.tar.bz2 |
Features: Add cxx_enum_forward_declarations.
Diffstat (limited to 'Tests/CompileFeatures/cxx_enum_forward_declarations.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_enum_forward_declarations.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp b/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp new file mode 100644 index 0000000..a7e1445 --- /dev/null +++ b/Tests/CompileFeatures/cxx_enum_forward_declarations.cpp @@ -0,0 +1,8 @@ + +enum SomeEnum : short; + +void someFunc() +{ + SomeEnum value; + int i = value; +} |