summaryrefslogtreecommitdiff
path: root/test/LLVMC/hello.mm
blob: ff82e4af518d9ecd56c31d1b8494eea8220c014d (plain)
1
2
3
4
5
6
7
8
// 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';
}