1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/LLVMC/hello.mm

9 lines
167 B
Plaintext
Raw Normal View History

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