1 | // Check that -w has higher priority than -Werror. |
---|---|
2 | // RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s |
3 | // expected-no-diagnostics |
4 | |
5 | int f0(int x, unsigned y) { |
6 | return x < y; |
7 | } |
8 |
1 | // Check that -w has higher priority than -Werror. |
---|---|
2 | // RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s |
3 | // expected-no-diagnostics |
4 | |
5 | int f0(int x, unsigned y) { |
6 | return x < y; |
7 | } |
8 |