mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 03:26:16 +00:00

- This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about. llvm-svn: 140770
10 lines
275 B
C
10 lines
275 B
C
// Regression check that -pedantic-errors doesn't cause other diagnostics to
|
|
// become errors.
|
|
//
|
|
// RUN: %clang_cc1 -verify -Weverything -pedantic-errors %s
|
|
|
|
int f0(int, unsigned);
|
|
int f0(int x, unsigned y) {
|
|
return x < y; // expected-warning {{comparison of integers}}
|
|
}
|