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
2009-07-16 Jb Evain <jbevain@novell.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