Skip to content

Commit d7b0cf3

Browse files
gamesh411steakhal
andauthored
Update clang/unittests/StaticAnalyzer/ExprEngineVisitTest.cpp
Co-authored-by: Balazs Benics <[email protected]>
1 parent 5da9ffd commit d7b0cf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clang/unittests/StaticAnalyzer/ExprEngineVisitTest.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ TEST(ExprEngineVisitTest, checkLocationAndBindInitialization) {
159159
public:
160160
int Value;
161161
};
162-
extern MyClass MyClassRead;
163-
void top() {
164-
MyClass MyClassWrite = MyClassRead;
162+
void top(MyClass param) {
163+
MyClass MyClassWrite = param;
165164
}
166165
)",
167166
Diags));

0 commit comments

Comments
 (0)