Skip to content

Commit 45794b0

Browse files
mcbartonvgvassilev
authored andcommitted
Update VariableReflectionTest.cpp
1 parent 50ceb91 commit 45794b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittests/CppInterOp/VariableReflectionTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ TEST(VariableReflectionTest, GetVariableType) {
9393

9494
#define CODE \
9595
int a; \
96-
int N = 5; \
96+
const int N = 5; \
9797
class C { \
9898
public: \
9999
int a; \
@@ -102,7 +102,7 @@ TEST(VariableReflectionTest, GetVariableType) {
102102
int d; \
103103
static int s_a; \
104104
} c; \
105-
int C::s_a = 12;
105+
int C::s_a = 7 + N;
106106

107107
CODE
108108

0 commit comments

Comments
 (0)