Weverything.c 275 B

123456789
  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
  5. int f0(int, unsigned);
  6. int f0(int x, unsigned y) {
  7. return x < y; // expected-warning {{comparison of integers}}
  8. }