Daniel Dunbar | 70456e9 | 2011-09-29 01:37:40 +0000 | [diff] [blame] | 1 | // Check that -w has higher priority than -Werror. |
2 | // RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s | ||||
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 3 | // expected-no-diagnostics |
Daniel Dunbar | 70456e9 | 2011-09-29 01:37:40 +0000 | [diff] [blame] | 4 | |
5 | int f0(int x, unsigned y) { | ||||
6 | return x < y; | ||||
7 | } |