mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 08:16:06 +00:00

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.
9 lines
372 B
C
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"
|