mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
llvmc: Add a test for the -c flag.
llvm-svn: 116611
This commit is contained in:
parent
785858b2ba
commit
65e099eb3c
10
test/LLVMC/C++/just-compile.cpp
Normal file
10
test/LLVMC/C++/just-compile.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
// Test that the -c flag works.
|
||||
// RUN: llvmc -c %s -o %t.o
|
||||
// RUN: llvmc --linker=c++ %t.o -o %t
|
||||
// RUN: %abs_tmp | grep hello
|
||||
// XFAIL: vg
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "hello" << '\n';
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user