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