llvm-project/clang/test/Coverage/ast-printing.c
Aaron Ballman 2ceee2f884 Add -Wno-strict-prototypes to C tests; NFC
This patch adds -Wno-strict-prototypes to all of the test cases that
use functions without prototypes, but not as the primary concern of the
test. e.g., attributes testing whether they can/cannot be applied to a
function without a prototype, etc.

This is done in preparation for enabling -Wstrict-prototypes by
default.
2022-02-24 15:30:30 -05:00

9 lines
372 B
C

// RUN: %clang_cc1 -fsyntax-only -Wno-strict-prototypes %s
// RUN: %clang_cc1 -ast-print -Wno-strict-prototypes %s -o %t.1.c
// RUN: %clang_cc1 -ast-print -Wno-strict-prototypes %t.1.c -o %t.2.c
// RUN: diff %t.1.c %t.2.c
// RUN: %clang_cc1 -ast-dump -Wno-strict-prototypes %s
// RUN: %clang_cc1 -ast-dump-all -Wno-strict-prototypes %s
#include "c-language-features.inc"