From e71c75a0e490bcf2d4c0d6dcded834d660e2262a Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 27 Nov 2021 13:50:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 ++ test_MacroDefinition.cpp | 1 + test_ScopedEnumConstant.cpp | 1 + 3 files changed, 4 insertions(+) create mode 100644 test_MacroDefinition.cpp create mode 100644 test_ScopedEnumConstant.cpp diff --git a/Makefile b/Makefile index f309bfc..426ea9f 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,7 @@ SOURCES= \ test_LocalConstantPointer.cpp \ test_LocalPointer.cpp \ test_LocalVariable.cpp \ + test_MacroDefinition.cpp \ test_Namespace.cpp \ test_Parameter.cpp \ test_ParameterPack.cpp \ @@ -41,6 +42,7 @@ SOURCES= \ test_ProtectedMethod.cpp \ test_PublicMember.cpp \ test_PublicMethod.cpp \ + test_ScopedEnumConstant.cpp \ test_StaticConstant.cpp \ test_StaticVariable.cpp \ test_Struct.cpp \ diff --git a/test_MacroDefinition.cpp b/test_MacroDefinition.cpp new file mode 100644 index 0000000..9bb8fcf --- /dev/null +++ b/test_MacroDefinition.cpp @@ -0,0 +1 @@ +#define MacroDefinition 0 diff --git a/test_ScopedEnumConstant.cpp b/test_ScopedEnumConstant.cpp new file mode 100644 index 0000000..955b958 --- /dev/null +++ b/test_ScopedEnumConstant.cpp @@ -0,0 +1 @@ +enum class TestEnum { big, SMALL_ };