]> granicus.if.org Git - clang/commitdiff
clang/test/SemaCXX/attr-no-sanitize.cpp: Don't mix stdout and stderr for FileCheck.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 16 May 2015 00:09:39 +0000 (00:09 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 16 May 2015 00:09:39 +0000 (00:09 +0000)
MSVCRT's stdio doesn't do line buffering.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237492 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/attr-no-sanitize.cpp

index 120fa64587d35c630caeacb5ae6771db16b8729d..741f76062821351a37361b5905555f17e200974d 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
-// RUN: not %clang_cc1 -std=c++11 -ast-dump %s 2>&1 | FileCheck --check-prefix=DUMP %s
-// RUN: not %clang_cc1 -std=c++11 -ast-print %s 2>&1 | FileCheck --check-prefix=PRINT %s
+// RUN: not %clang_cc1 -std=c++11 -ast-dump %s | FileCheck --check-prefix=DUMP %s
+// RUN: not %clang_cc1 -std=c++11 -ast-print %s | FileCheck --check-prefix=PRINT %s
 
 int v1 __attribute__((no_sanitize("address"))); // expected-error{{'no_sanitize' attribute only applies to functions and methods}}