blob: 32f314720b248410e28093eb3ada4954a3d5a7c6 [file] [log] [blame]
Daniel Dunbar70456e92011-09-29 01:37:40 +00001// 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 Dunbar70456e92011-09-29 01:37:40 +00005
6int f0(int, unsigned);
7int f0(int x, unsigned y) {
8 return x < y; // expected-warning {{comparison of integers}}
9}