repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git]
/
mcs
/
errors
/
cs0247.cs
blob
1acaf6151dd0088f2919bc0b9944345ec7aabf91
1
// CS0247: Cannot use a negative size with stackalloc
2
// Line: 7
3
// Compiler options: -unsafe
4
5
public class
MainClass
{
6
static unsafe void
Main
() {
7
int
*
ptr
=
stackalloc int
[-
1
];
8
}
9
}
10
11