Change test to just define NULL instead of #including stddef.h. In some

test environments, even that builtin header isn't available. Also, this
makes it more consistent with the C++ version of this test.

llvm-svn: 251520
This commit is contained in:
Daniel Jasper 2015-10-28 14:51:09 +00:00
parent 069b2dd66c
commit 15cffc00b3
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// RUN: clang-tidy -checks=-*,modernize-redundant-void-arg %s -- -x c | count 0
#include <stddef.h>
#define NULL 0
extern int i;