diff options
author | 2020-08-03 14:31:31 +0000 | |
---|---|---|
committer | 2020-08-03 14:31:31 +0000 | |
commit | e5dd70708596ae51455a0ffa086a00c5b29f8583 (patch) | |
tree | 5d676f27b570bacf71e786c3b5cff3e6f6679b59 /gnu/llvm/clang/utils/perf-training/cxx/hello_world.cpp | |
parent | Import LLVM 10.0.0 release including clang, lld and lldb. (diff) | |
download | wireguard-openbsd-e5dd70708596ae51455a0ffa086a00c5b29f8583.tar.xz wireguard-openbsd-e5dd70708596ae51455a0ffa086a00c5b29f8583.zip |
Import LLVM 10.0.0 release including clang, lld and lldb.
ok hackroom
tested by plenty
Diffstat (limited to 'gnu/llvm/clang/utils/perf-training/cxx/hello_world.cpp')
-rw-r--r-- | gnu/llvm/clang/utils/perf-training/cxx/hello_world.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/llvm/clang/utils/perf-training/cxx/hello_world.cpp b/gnu/llvm/clang/utils/perf-training/cxx/hello_world.cpp new file mode 100644 index 00000000000..fc9f6892eb7 --- /dev/null +++ b/gnu/llvm/clang/utils/perf-training/cxx/hello_world.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cpp -c %s +// RUN: %clang_cpp_skip_driver -Wall -pedantic -c %s +#include <iostream> + +int main(int, char**) { + std::cout << "Hello, World!"; + return 0; +} |