diff options
Diffstat (limited to 'testing/068_typed_enum.cpp')
-rw-r--r-- | testing/068_typed_enum.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/068_typed_enum.cpp b/testing/068_typed_enum.cpp new file mode 100644 index 0000000..44c4123 --- /dev/null +++ b/testing/068_typed_enum.cpp @@ -0,0 +1,7 @@ +// objective: test underlying type and strongness for an enum +// check: 068__typed__enum_8cpp.xml + +/** \file */ + +/** @brief A strongly-typed enum */ +enum class E: unsigned short {}; |