summaryrefslogtreecommitdiffstats
path: root/clang/utils/perf-training/cxx/hello_world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/perf-training/cxx/hello_world.cpp')
-rw-r--r--clang/utils/perf-training/cxx/hello_world.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/utils/perf-training/cxx/hello_world.cpp b/clang/utils/perf-training/cxx/hello_world.cpp
new file mode 100644
index 00000000000..66e00d00d26
--- /dev/null
+++ b/clang/utils/perf-training/cxx/hello_world.cpp
@@ -0,0 +1,7 @@
+// RUN: %clang_cpp -c %s
+#include <iostream>
+
+int main(int, char**) {
+ std::cout << "Hello, World!";
+ return 0;
+}
OpenPOWER on IntegriCloud