diff options
Diffstat (limited to 'test/Sema/vfprintf-valid-redecl.c')
-rw-r--r-- | test/Sema/vfprintf-valid-redecl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Sema/vfprintf-valid-redecl.c b/test/Sema/vfprintf-valid-redecl.c new file mode 100644 index 0000000..cc8e2c4 --- /dev/null +++ b/test/Sema/vfprintf-valid-redecl.c @@ -0,0 +1,6 @@ +// RUN: clang-cc %s -fsyntax-only -pedantic -verify +// PR4290 + +// The following declaration is compatible with vfprintf, so we shouldn't +// warn. +int vfprintf(); |