umbrello: test/import/cxx/namespace-enum-literal.h Source File

umbrello 25.08.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

namespace-enum-literal.h
Go to the documentation of this file.
1 namespace namespace_enum_literal {
2 /* should display the following literals in tree view * A = 1 * B = 2 * C * D */
3 enum test { A = 1, B = 2, C, D };
4}; // This last semicolon should not be there but most compilers accept it.
namespace_enum_literal
Definition namespace-enum-literal.h:1
namespace_enum_literal::test
test
Definition namespace-enum-literal.h:3
namespace_enum_literal::C
@ C
Definition namespace-enum-literal.h:3
namespace_enum_literal::A
@ A
Definition namespace-enum-literal.h:3
namespace_enum_literal::D
@ D
Definition namespace-enum-literal.h:3
namespace_enum_literal::B
@ B
Definition namespace-enum-literal.h:3