fclose.c 233 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 // RUN: %clang_asan %s -o %t // RUN: %run %t 2>&1 | FileCheck %s #include <stdio.h> #include <stdlib.h> int main(int argc, const char * argv[]) { fclose(NULL); fprintf(stderr, "Finished.\n"); return 0; } // CHECK: Finished.