1*67e74705SXin Li // Regression check that -pedantic-errors doesn't cause other diagnostics to 2*67e74705SXin Li // become errors. 3*67e74705SXin Li // 4*67e74705SXin Li // RUN: %clang_cc1 -verify -Weverything -pedantic-errors %s 5*67e74705SXin Li 6*67e74705SXin Li int f0(int, unsigned); f0(int x,unsigned y)7*67e74705SXin Liint f0(int x, unsigned y) { 8*67e74705SXin Li return x < y; // expected-warning {{comparison of integers}} 9*67e74705SXin Li } 10