]> granicus.if.org Git - clang/commitdiff
Redirect the output of a test to a temporary file to prevent messing up
authorRichard Trieu <rtrieu@google.com>
Tue, 2 Jul 2013 20:49:10 +0000 (20:49 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 2 Jul 2013 20:49:10 +0000 (20:49 +0000)
the test environment.

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

test/CodeGen/PR15826.c

index e002c3e6108bda343555117420fed017a1aeb735..9ce1784993905df3c809315e42933859f8ab4299 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -verify -emit-llvm %s
+// RUN: %clang_cc1 -verify -emit-llvm %s -o %t
 
 /* Testcase for PR15826 - clang hits assert in clang::ASTContext::getASTRecordLayout */
 struct sysctl_req {