test/PCH/objc_stmts.m: Suppress stderr to be fed to FileCheck.

llvm-svn: 160720
This commit is contained in:
NAKAMURA Takumi 2012-07-25 11:14:11 +00:00
parent bb0ade6daa
commit 2538bf111e
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
// Test this without pch.
// RUN: %clang_cc1 -include %S/objc_stmts.h -emit-llvm -fobjc-exceptions -o - %s
// RUN: %clang_cc1 -include %S/objc_stmts.h -ast-dump -fobjc-exceptions -o - %s 2>&1 | FileCheck %s
// RUN: %clang_cc1 -include %S/objc_stmts.h -ast-dump -fobjc-exceptions -o - %s | FileCheck %s
// Test with pch.
// RUN: %clang_cc1 -x objective-c -emit-pch -fobjc-exceptions -o %t %S/objc_stmts.h
// RUN: %clang_cc1 -include-pch %t -emit-llvm -fobjc-exceptions -o - %s
// RUN: %clang_cc1 -include-pch %t -ast-dump -fobjc-exceptions -o - %s 2>&1 | FileCheck %s
// RUN: %clang_cc1 -include-pch %t -ast-dump -fobjc-exceptions -o - %s | FileCheck %s
// CHECK: catch parm = "A *a"
// CHECK: catch parm = "B *b"