brintos

brintos / llvm-project-archived public Read only

0
0
Text · 226 B · ea22f72 Raw
10 lines · c
1// Check that "#pragma diagnostic error" is suppressed by -w.2//3// RUN: %clang_cc1 -verify -Werror -w %s4 5// expected-no-diagnostics6#pragma gcc diagnostic error "-Wsign-compare"7int f0(int x, unsigned y) {8  return x < y;9}10