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