xref: /minix3/external/bsd/llvm/dist/clang/test/Frontend/Weverything.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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 
6 int f0(int, unsigned);
f0(int x,unsigned y)7 int f0(int x, unsigned y) {
8   return x < y; // expected-warning {{comparison of integers}}
9 }
10