mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
65e099eb3c
llvm-svn: 116611
11 lines
211 B
C++
11 lines
211 B
C++
// 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';
|
|
}
|