aboutsummaryrefslogtreecommitdiff
path: root/source/20-codegen-compiler/test/examples
diff options
context:
space:
mode:
Diffstat (limited to 'source/20-codegen-compiler/test/examples')
-rw-r--r--source/20-codegen-compiler/test/examples/TestEnum.hpp.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/20-codegen-compiler/test/examples/TestEnum.hpp.txt b/source/20-codegen-compiler/test/examples/TestEnum.hpp.txt
index 441d97c..30c36c0 100644
--- a/source/20-codegen-compiler/test/examples/TestEnum.hpp.txt
+++ b/source/20-codegen-compiler/test/examples/TestEnum.hpp.txt
@@ -5,7 +5,8 @@ enum MyEnum {
};
BRUSSEL_ENUM(MyEnum, ToString FromString);
-enum CountedEnumAll {
+// Let's also test enum class
+enum class CountedEnumAll {
CEA_Foo,
CEA_Bar,
CEA_COUNT,
@@ -21,7 +22,7 @@ enum CountedEnum {
BRUSSEL_ENUM(CountedEnum, ToString FromString ExcludeHeuristics);
namespace MyNamespace {
-enum MyNamespacedEnum {
+enum class MyNamespacedEnum {
MNE_Foo,
MNE_Bar,
};