brintos

brintos / llvm-project-archived public Read only

0
0
Text · 190 B · ca70ca4 Raw
8 lines · c
1// RUN: %clang_cc1 -verify -Wno-everything -Wsign-compare %s2 3int f0(int, unsigned);4int f0(int x, unsigned y) {5  if (x=3);6  return x < y; // expected-warning {{comparison of integers}}7}8