Added regression test for the prefix iterator in for loop

This has been fixed, but previously it would complain about whitespace
before the +
This commit is contained in:
thk123 2016-12-19 10:08:20 +00:00 committed by Michael Tautschnig
parent 08bdc6e524
commit d1af0e1cc2
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,14 @@
/*******************************************************************\
Module: Lint Examples
Author: Thomas Kiley, thomas@diffblue.com
\*******************************************************************/
static void fun()
{
for(int i=0; i<10; ++i)
{
}
}

View File

@ -0,0 +1,6 @@
CORE
main.cpp
^EXIT=0$
^SIGNAL=0$
--