summaryrefslogtreecommitdiffhomepage
path: root/tests/test-cpp.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-14 22:06:10 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-14 22:06:10 +0100
commit9e7f4c9d43b310c280cd6432cd4150411f4b914e (patch)
treec7be57a91602c228f05ff1cab2f186dcc6635733 /tests/test-cpp.cpp
parent009e450626194299ee4b5ccb8463ac64e127fde6 (diff)
Added system tests
Diffstat (limited to 'tests/test-cpp.cpp')
-rw-r--r--tests/test-cpp.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-cpp.cpp b/tests/test-cpp.cpp
index 39e1513..5755516 100644
--- a/tests/test-cpp.cpp
+++ b/tests/test-cpp.cpp
@@ -86,6 +86,12 @@ TEST_F(CppTest, compile) {
cpp.compile("int main() { return 1 + 2; }");
}
+TEST_F(CppTest, compile_1) {
+ CPP cpp;
+
+ cpp.compile("int main() { return 1; }");
+}
+
TEST_F(CppTest, compile_2_times) {
CPP cpp;