projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2009-07-11 Michael Barker <mike@middlesoft.co.uk>
[mono.git]
/
mcs
/
tests
/
test-251.cs
1
//
2
// Tests the valid value types for volatile fields.
3
//
4
5
using System;
6
7
interface R {
8
}
9
10
enum XX {
11
A
12
}
13
14
class X {
15
volatile byte a;
16
volatile sbyte b;
17
volatile short c;
18
volatile ushort d;
19
volatile int e;
20
volatile uint f;
21
volatile char g;
22
volatile float h;
23
volatile bool i;
24
volatile X x;
25
volatile R r;
26
volatile XX dd;
27
volatile IntPtr ip;
28
volatile UIntPtr uip;
29
30
static void Main () {}
31
}