llvm-6502/test/LLVMC/hello.mm
2008-11-08 03:25:47 +00:00

9 lines
168 B
Plaintext

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