Home | History | Annotate | Download | only in C++
      1 // Test that we can compile C++ code.
      2 // RUN: llvmc %s -o %t
      3 // RUN: %abs_tmp | grep hello
      4 // XFAIL: vg
      5 #include <iostream>
      6 
      7 int main() {
      8     std::cout << "hello" << '\n';
      9 }
     10