diff options
Diffstat (limited to 'llvm/test/LLVMC/C++')
-rw-r--r-- | llvm/test/LLVMC/C++/dash-x.cpp | 2 | ||||
-rw-r--r-- | llvm/test/LLVMC/C++/hello.cpp | 2 | ||||
-rw-r--r-- | llvm/test/LLVMC/C++/together.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/LLVMC/C++/dash-x.cpp b/llvm/test/LLVMC/C++/dash-x.cpp index faf8b3072a2..437d8bbbe3b 100644 --- a/llvm/test/LLVMC/C++/dash-x.cpp +++ b/llvm/test/LLVMC/C++/dash-x.cpp @@ -1,6 +1,6 @@ // Test that we can compile .c files as C++ and vice versa // RUN: llvmc -x c++ %s -x c %p/../test_data/false.cpp -x lisp -x whatnot -x none %p/../test_data/false2.cpp -o %t -// RUN: ./%t | grep hello +// RUN: %abs_tmp | grep hello #include <iostream> diff --git a/llvm/test/LLVMC/C++/hello.cpp b/llvm/test/LLVMC/C++/hello.cpp index 27c89d66fa7..b9c6399ebfc 100644 --- a/llvm/test/LLVMC/C++/hello.cpp +++ b/llvm/test/LLVMC/C++/hello.cpp @@ -1,6 +1,6 @@ // Test that we can compile C++ code. // RUN: llvmc %s -o %t -// RUN: ./%t | grep hello +// RUN: %abs_tmp | grep hello #include <iostream> int main() { diff --git a/llvm/test/LLVMC/C++/together.cpp b/llvm/test/LLVMC/C++/together.cpp index f1320ca6d03..e02f69aec8d 100644 --- a/llvm/test/LLVMC/C++/together.cpp +++ b/llvm/test/LLVMC/C++/together.cpp @@ -1,6 +1,6 @@ // Check that we can compile files of different types together. // RUN: llvmc %s %p/../test_data/together.c -o %t -// RUN: ./%t | grep hello +// RUN: %abs_tmp | grep hello extern "C" void test(); |