Daniel Dunbar | 70456e9 | 2011-09-29 01:37:40 +0000 | [diff] [blame] | 1 | // Regression check that -pedantic-errors doesn't cause other diagnostics to |
2 | // become errors. | ||||
3 | // | ||||
4 | // RUN: %clang_cc1 -verify -Weverything -pedantic-errors %s | ||||
Daniel Dunbar | 70456e9 | 2011-09-29 01:37:40 +0000 | [diff] [blame] | 5 | |
6 | int f0(int, unsigned); | ||||
7 | int f0(int x, unsigned y) { | ||||
8 | return x < y; // expected-warning {{comparison of integers}} | ||||
9 | } |