[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0420.cs
1 // CS0420: `X.j': A volatile field references will not be treated as volatile
2 // Line: 10
3 // Compiler options: -unsafe /warnaserror /warn:1
4
5 unsafe class X {
6         static volatile int j;
7         
8         static void Main ()
9         {
10                 fixed (int *p = &j){
11                         
12                 }
13         }
14 }