projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Jonathan Pobst <monkey@jpobst.com>
[mono.git]
/
mcs
/
tests
/
test-442.cs
1
// Compiler options: -unsafe
2
3
using System;
4
5
namespace ConsoleApplication1 {
6
class Program {
7
static unsafe void Main(string[] args) {
8
int[] i = new int[] { 10 };
9
fixed (int* p = i) {
10
int*[] q = new int*[] { p };
11
*q[0] = 5;
12
Console.WriteLine(*q[0]);
13
}
14
}
15
}
16
}
17