removed some c++-comments within testcases ( from my last commit ). No functional change.

This commit is contained in:
Ettl Martin 2012-04-19 10:15:29 +02:00
parent 7699d5bf87
commit 2840b19fb3
1 changed files with 0 additions and 3 deletions

View File

@ -1433,7 +1433,6 @@ private:
"extern void SomeTestFunc(float);\n" "extern void SomeTestFunc(float);\n"
"void MyFuncNoError()\n" "void MyFuncNoError()\n"
"{\n" "{\n"
" //flip around floatB and g_float and the message does not appear\n"
" const float floatB = 2.2f;\n" " const float floatB = 2.2f;\n"
" const float floatTot = floatB * g_float;\n" " const float floatTot = floatB * g_float;\n"
" SomeTestFunc(floatTot);\n" " SomeTestFunc(floatTot);\n"
@ -1444,13 +1443,11 @@ private:
"extern void SomeTestFunc(float);\n" "extern void SomeTestFunc(float);\n"
"void MyFuncNoError2()\n" "void MyFuncNoError2()\n"
"{\n" "{\n"
" //change floatTot to non-const and the message does not appear\n"
" const float floatC = 2.2f; \n" " const float floatC = 2.2f; \n"
" float floatTot = g_float * floatC;\n" " float floatTot = g_float * floatC;\n"
" SomeTestFunc(floatTot);\n" " SomeTestFunc(floatTot);\n"
"}\n"); "}\n");
ASSERT_EQUALS("", errout.str()); ASSERT_EQUALS("", errout.str());
} }
void localvaralias1() { void localvaralias1() {