summaryrefslogtreecommitdiffstats
path: root/tests/cpp-compiler/cpp-compile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpp-compiler/cpp-compile.cpp')
-rw-r--r--tests/cpp-compiler/cpp-compile.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/cpp-compiler/cpp-compile.cpp b/tests/cpp-compiler/cpp-compile.cpp
new file mode 100644
index 000000000..c3141a876
--- /dev/null
+++ b/tests/cpp-compiler/cpp-compile.cpp
@@ -0,0 +1,9 @@
+//TEST(smoke):CPP_COMPILER_EXECUTE:
+#include <iostream>
+using namespace std;
+
+int main(int argc, char** argv)
+{
+ cout << "Hello World!" << endl;
+ return 0;
+}