repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-292.cs
blob
c67fec01e2955a5df322b69014016d1db8c29180
1
// Compiler options: -unsafe
2
// Test for bug #64330: A 'fixed' statement should introduce a scope
3
4
unsafe class
X
{
5
static int
x
=
0
;
6
static void
Main
() {
7
fixed
(
void
*
p
= &
x
) {}
8
fixed
(
void
*
p
= &
x
) {}
9
}
10
}
11