Author: akirtzidis
Date: Fri Jan 27 01:10:14 2012
New Revision: 149123

URL: http://llvm.org/viewvc/llvm-project?rev=149123&view=rev
Log:
Add test for -Wno-everything.

Added:
    cfe/trunk/test/Frontend/Wno-everything.c

Added: cfe/trunk/test/Frontend/Wno-everything.c
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Wno-everything.c?rev=149123&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Wno-everything.c (added)
+++ cfe/trunk/test/Frontend/Wno-everything.c Fri Jan 27 01:10:14 2012
@@ -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}}
+}


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to