diff --git a/tests/manual/cplusplus/tests/t1.cpp b/tests/manual/cplusplus/tests/t1.cpp
index 36e1340555c9344bc92b068d06b17d3e382e89ee..362146fc19b3e18e9811a42c1e9b798107971950 100644
--- a/tests/manual/cplusplus/tests/t1.cpp
+++ b/tests/manual/cplusplus/tests/t1.cpp
@@ -1,5 +1,5 @@
 
-class foo {
+class Class {
   int a, b;
 
   enum zoo { a, b };
@@ -8,5 +8,9 @@ class foo {
 
   void foo() {}
   inline void bar() {}
+
+  void another_foo() {
+    int a = static_cast<int>(1+2/3*4-5%6+(7&8));
+  }
 };