summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-12 18:39:38 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-12 18:39:38 +0100
commit9f28c5b7fb5d97d5b5def918978d4232e5dde31e (patch)
treecc03a4824e53531cca0b1a0fdc87a1278e42d493 /tests
parent32e19781c554c83643fcab4c4f39a6a552c367f5 (diff)
implement restore of head recursion
Diffstat (limited to 'tests')
-rw-r--r--tests/test-cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-cpp.cpp b/tests/test-cpp.cpp
index e80f2d6..5d997f1 100644
--- a/tests/test-cpp.cpp
+++ b/tests/test-cpp.cpp
@@ -83,7 +83,7 @@ TEST_F(CppTest, preprocessing_tokenize_compile_error) {
TEST_F(CppTest, compile) {
CPP cpp;
- cpp.compile("int main() { return 1 + 1; }");
+ cpp.compile("int main() { return 1 + 2; }");
}
TEST_F(CppTest, compile_2_times) {