brintos

brintos / llvm-project-archived public Read only

0
0
Text · 352 B · a981363 Raw
12 lines · c
1// Verify that various combinations of flags properly keep the sign-compare2// warning disabled.3 4// RUN: %clang_cc1 -verify -Wno-error=sign-compare %s5// RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s6// RUN: %clang_cc1 -verify -w -Werror=sign-compare %s7// expected-no-diagnostics8 9int f0(int x, unsigned y) {10  return x < y;11}12