diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-27 07:10:14 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-27 07:10:14 +0000 |
commit | 8b4f2b754e6f3ae758bfff4ee9fd797181911101 (patch) | |
tree | 785bd438d97a96f458ed61f8d1b075782cf6fdbd | |
parent | 11583c757bac6ce5c342f2eb572055dd2619a657 (diff) |
Add test for -Wno-everything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149123 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Frontend/Wno-everything.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Frontend/Wno-everything.c b/test/Frontend/Wno-everything.c new file mode 100644 index 0000000000..ca70ca4c64 --- /dev/null +++ b/test/Frontend/Wno-everything.c @@ -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}} +} |