Add test for -Wno-everything.

llvm-svn: 149123
This commit is contained in:
Argyrios Kyrtzidis 2012-01-27 07:10:14 +00:00
parent 5639e9e8fb
commit 8823d12a53
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,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}}
}