2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0420-2.cs
blobd2ab81f5db2de1fa48ebba5e508b87e298b499bc
1 // CS0420: `XX.j': A volatile field references will not be treated as volatile
2 // Line: 14
3 // Compiler options: -unsafe /warnaserror /warn:1
5 unsafe class XX {
6 static volatile int j;
8 static void X (ref int a)
12 static void Main ()
14 X (ref j);