Explicitly tell Clang to output to stdout in a test that runs FileCheck
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 27 Apr 2020 08:03:45 +0000 (10:03 +0200)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 27 Apr 2020 08:13:28 +0000 (10:13 +0200)
clang/test/Sema/builtin-amdgcn-fence-failure.cpp

index c0de548..651700c 100644 (file)
@@ -1,6 +1,5 @@
 // REQUIRES: amdgpu-registered-target
-// RUN: not %clang_cc1 %s -S \
-// RUN:   -triple=amdgcn-amd-amdhsa 2>&1 | FileCheck %s
+// RUN: not %clang_cc1 %s -o - -S -triple=amdgcn-amd-amdhsa 2>&1 | FileCheck %s
 
 void test_amdgcn_fence_failure() {