summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0429.cs
blob: ae6c158c47fec80993b770816f0fbe3e66c0308b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0429: Unreachable expression code detected
// Line: 9
// Compiler options: -warn:4 -warnaserror

class Main
{
   public void Method (int i)
   {
       if (false && i > 10)
	   return;
   }
}