468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
7 lines
163 B
C
7 lines
163 B
C
// Check that fopen(NULL, "r") is ok.
|
|
// RUN: %clang -O2 %s -o %t && %run %t
|
|
#include <stdio.h>
|
|
const char *fn = NULL;
|
|
FILE *f;
|
|
int main() { f = fopen(fn, "r"); }
|