[cfe-commits] r149123 - /cfe/trunk/test/Frontend/Wno-everything.c

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Jan 26 23:10:14 PST 2012


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}}
+}





More information about the cfe-commits mailing list