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-10-22 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
gcs0029-2.cs
blob
91c67b45a3f2b4a2d259402a5652821120d63e15
1
// CS0029: Cannot implicitly convert type `T' to `int*'
2
// Line : 8
3
// Compiler options: -unsafe
4
5
class
T
{
6
static unsafe void
Main
()
7
{
8
int
*
a
=
default
(
T
);
9
}
10
}