Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / LLVMC / C++ / just-compile.cpp
blob771c9822da69ec6f31121e0ebb88c5cf07f713dc
1 // Test that the -c flag works.
2 // RUN: llvmc -c %s -o %t.o
3 // RUN: llvmc --linker=c++ %t.o -o %t
4 // RUN: %abs_tmp | grep hello
5 // XFAIL: vg
6 #include <iostream>
8 int main() {
9 std::cout << "hello" << '\n';