commit | ceda1734cc33f14077cf48ee1cbe020532a89c81 | [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 | 87416b4cea4748a5d2c40c15b58e1a4a3310cd9f [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'; +}