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
/
gtest-101.cs
blob
a9fc10676e58abc48f086cf07bd586b489cc0e7e
1
using
System
;
2
3
public class
Test
4
{
5
static void
Main
()
6
{
7
SimpleStruct
<
string
>
s
=
new
SimpleStruct
<
string
> ();
8
}
9
}
10
11
public struct
SimpleStruct
<
T
>
12
{
13
T data
;
14
15
public
SimpleStruct
(
T data
)
16
{
17
this
.
data
=
data
;
18
}
19
}