blob: b1d62140ce332f91ab2fce7f51202b512c7d1e6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
bool f()
{
/* ERRORS */
if 10 == 10; return :true;
if 20 == 20; return :true; else return :false;
if 30 == 30 return :true; else; return :false;
if 40 == 40 { }; // ERROR unnecessary semicolon at end
return :true;
}
|