Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / asan / TestCases / Darwin / fclose.c
blob7807122bdcc17ed7fe235db37b23eff607805e2b
1 // RUN: %clang_asan %s -o %t
2 // RUN: %run %t 2>&1 | FileCheck %s
4 #include <stdio.h>
5 #include <stdlib.h>
7 int main(int argc, const char * argv[]) {
8 fclose(NULL);
9 fprintf(stderr, "Finished.\n");
10 return 0;
13 // CHECK: Finished.