Redirect the output of a test to a temporary file to prevent messing up

the test environment.

llvm-svn: 185470
This commit is contained in:
Richard Trieu 2013-07-02 20:49:10 +00:00
parent c5aff0550f
commit 1466faf8a6

View 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 {