forked from OSchip/llvm-project
parent
6dd6082472
commit
4d3355a21c
|
@ -65,7 +65,7 @@ void SymbolEscapedThroughFunctionCall() {
|
|||
}
|
||||
|
||||
FILE *GlobalF;
|
||||
void SymbolEscapedThroughAssignmentToGloabl() {
|
||||
void SymbolEscapedThroughAssignmentToGlobal() {
|
||||
FILE *F = fopen("myfile.txt", "w");
|
||||
GlobalF = F;
|
||||
return; // no warning
|
||||
|
|
Loading…
Reference in New Issue