blob: 764cb41ec7cba8c31a70c5927a4d515629909b50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// CS0420: `X.j': A volatile field references will not be treated as volatile
// Line: 10
// Compiler options: -unsafe /warnaserror /warn:1
unsafe class X {
static volatile int j;
static void Main ()
{
fixed (int *p = &j){
}
}
}
|