forked from OSchip/llvm-project
parent
7987c6188a
commit
3ba051a4f6
|
|
@ -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…
Reference in New Issue