From 61968bc85a96007388ecbf971b69762297bd4855 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 2 Feb 2015 23:38:27 +0000 Subject: [PATCH] test: Make encode-test-5.m's output not dependent on its filename Pipe the file into clang instead of passing the file path on the command line. llvm-svn: 227896 --- clang/test/CodeGenObjC/encode-test-5.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGenObjC/encode-test-5.m b/clang/test/CodeGenObjC/encode-test-5.m index cca19d7..c7f030c 100644 --- a/clang/test/CodeGenObjC/encode-test-5.m +++ b/clang/test/CodeGenObjC/encode-test-5.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple=x86_64-apple-darwin9 -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -x objective-c -triple=x86_64-apple-darwin9 -emit-llvm -o - < %s | FileCheck %s // CHECK-DAG: @[[complex_int:.*]] = private unnamed_addr constant [3 x i8] c"ji\00", align 1 // CHECK-DAG: @a = global i8* getelementptr inbounds ([3 x i8]* @[[complex_int]], i32 0, i32 0), align 8 -- 2.7.4