commit | 0ed792020f625533ce3129c0cafb9c48afb81b9e | [log] [tgz] |
---|---|---|
author | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 18:11:21 2008 +0000 |
committer | Mikhail Glushenkov <foldr@codedgers.com> | Tue May 06 18:11:21 2008 +0000 |
tree | 84ae9b92a93a5381719c031f5afe23f1fd23d59b | |
parent | edd7ff9bc8c63eb2a27a3336d779edd7ea3d87a2 [diff] [blame] |
Add two (currently failing) tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50752 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/LLVMC/hello.cpp b/test/LLVMC/hello.cpp new file mode 100644 index 0000000..a3148c3 --- /dev/null +++ b/test/LLVMC/hello.cpp
@@ -0,0 +1,8 @@ +// Test that we can compile C++ code. +// RUN: llvmc2 %s -o %t +// RUN: ./%t | grep hello +#include <iostream> + +int main() { + std::cout << "hello" << '\n'; +}