[llvm] r220603 - Add a test for the -suppress-warnings option.

Rafael Espindola rafael.espindola at gmail.com
Fri Oct 24 18:14:15 PDT 2014


Author: rafael
Date: Fri Oct 24 20:14:15 2014
New Revision: 220603

URL: http://llvm.org/viewvc/llvm-project?rev=220603&view=rev
Log:
Add a test for the -suppress-warnings option.

Modified:
    llvm/trunk/test/Linker/targettriple.ll

Modified: llvm/trunk/test/Linker/targettriple.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/targettriple.ll?rev=220603&r1=220602&r2=220603&view=diff
==============================================================================
--- llvm/trunk/test/Linker/targettriple.ll (original)
+++ llvm/trunk/test/Linker/targettriple.ll Fri Oct 24 20:14:15 2014
@@ -5,6 +5,9 @@
 ; RUN: llvm-link %s %S/Inputs/targettriple-b.ll -S -o - 2>%t.b.err | FileCheck %s
 ; RUN: cat %t.b.err | FileCheck --check-prefix=WARN-B %s
 
+; RUN: llvm-link -suppress-warnings %s %S/Inputs/targettriple-b.ll -S -o - 2>%t.no-warn.err | FileCheck %s
+; RUN: (echo foo ;cat %t.no-warn.err) | FileCheck --check-prefix=WARN-A %s
+
 target triple = "e"
 
 ; CHECK: target triple = "e"





More information about the llvm-commits mailing list