diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-02-02 23:38:27 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-02-02 23:38:27 +0000 |
| commit | 61968bc85a96007388ecbf971b69762297bd4855 (patch) | |
| tree | 4fbdf8274cbd106a4b9675b8a059363080c2d8ba /clang/test/CodeGenObjC | |
| parent | 05ce1eed0aabeed70c4b5ab96a5dcab3cc92141d (diff) | |
| download | bcm5719-llvm-61968bc85a96007388ecbf971b69762297bd4855.tar.gz bcm5719-llvm-61968bc85a96007388ecbf971b69762297bd4855.zip | |
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
Diffstat (limited to 'clang/test/CodeGenObjC')
| -rw-r--r-- | clang/test/CodeGenObjC/encode-test-5.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/encode-test-5.m b/clang/test/CodeGenObjC/encode-test-5.m index cca19d767b4..c7f030c6d88 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 |

