Add a --linker command-line option, make all tests pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov
2008-05-06 18:13:00 +00:00
parent 895820da24
commit 978d498e40
5 changed files with 29 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
// Test that we can compile C++ code.
// RUN: llvmc2 %s -o %t
// RUN: llvmc2 --linker=c++ %s -o %t
// RUN: ./%t | grep hello
#include <iostream>