summaryrefslogtreecommitdiff
path: root/clang/test/Frontend/Wno-everything.c
blob: ca70ca4c6429d9bfa189af401af1e16ba9123683 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -verify -Wno-everything -Wsign-compare %s

int f0(int, unsigned);
int f0(int x, unsigned y) {
  if (x=3);
  return x < y; // expected-warning {{comparison of integers}}
}