Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

32 lines
408 B
C#

//
// Tests the valid value types for volatile fields.
//
using System;
interface R {
}
enum XX {
A
}
class X {
volatile byte a;
volatile sbyte b;
volatile short c;
volatile ushort d;
volatile int e;
volatile uint f;
volatile char g;
volatile float h;
volatile bool i;
volatile X x;
volatile R r;
volatile XX dd;
volatile IntPtr ip;
volatile UIntPtr uip;
public static void Main () {}
}