mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
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';
|
||
|
}
|