hanchenye-llvm-project/llvm/test/LLVMC/C++/hello.cpp

10 lines
174 B
C++

// Test that we can compile C++ code.
// RUN: llvmc %s -o %t
// RUN: %abs_tmp | grep hello
// XFAIL: vg
#include <iostream>
int main() {
std::cout << "hello" << '\n';
}