mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-02 04:53:19 +01:00
[svn r5] Initial commit. Most things are very rough.
This commit is contained in:
13
test/structs.d
Normal file
13
test/structs.d
Normal file
@@ -0,0 +1,13 @@
|
||||
struct S
|
||||
{
|
||||
int func()
|
||||
{
|
||||
return 42;
|
||||
}
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
S s;
|
||||
int i = s.func();
|
||||
}
|
||||
Reference in New Issue
Block a user