// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.unix.SimpleStream -verify %s
void
int
void
void
void // expected-warning {{Opened file is never closed; potential resource leak}}
void
FILE *
void ;
void
FILE *GlobalF;
void
void
void ;
void
void // no-warning
void // expected-warning {{Opened file is never closed; potential resource leak}}