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
2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0208-6.cs
blob
b41dd1efab296a5d5e0463557615e8f67d667904
1
// cs0208-6.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
2
// Line: 8
3
// Compiler options: -unsafe
4
5
unsafe struct
X
{
6
string
a
;
7
static void
Main
() {
8
X x
;
9
void
*
y
= &
x
;
10
}
11
}
12