Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0165-27.cs
1 // CS0165: Use of unassigned local variable `a'
2 // Line: 13
3
4 using System;
5
6 class Program
7 {
8         public static void Main (string[] args)
9         {
10                 int a, b;
11                 string s = "";
12                 var res = s != null ? a = 1 : b = 2;
13                 Console.WriteLine (a);
14         }
15 }