llvm-6502/test/LLVMC/ObjC++/hello.mm
2009-09-13 01:40:48 +00:00

9 lines
171 B
Plaintext

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