Prevent these tests from dirtying the tree with output files that aren't even

used for the test.

llvm-svn: 110431
This commit is contained in:
Chandler Carruth 2010-08-06 05:29:57 +00:00
parent 44207a9e9f
commit 66ce9651f1
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s > %t 2>&1
// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s -o /dev/null > %t 2>&1
// RUN: FileCheck %s < %t
int test1(int X) {

View File

@ -1,6 +1,5 @@
// RUN: echo "#include <stdio.h>" > %t.h
// RUN: %clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll
// RUN: %clang -S -g -include %t.h %s -emit-llvm -o %t.ll
// RUN: grep "i32 5" %t.ll
// RUN: rm -f lineno-dbginfo.i
// outer is at line number 5.
int outer = 42;

View File

@ -1,4 +1,4 @@
// RUN: %clang_cc1 -Wreturn-type %s -emit-llvm
// RUN: %clang_cc1 -Wreturn-type %s -emit-llvm -o /dev/null
void test1(int x) {
switch (x) {