mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-06 04:13:17 +01:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
18
tests/mini/debug9.d
Normal file
18
tests/mini/debug9.d
Normal file
@@ -0,0 +1,18 @@
|
||||
module tangotests.debug9;
|
||||
|
||||
struct Foo
|
||||
{
|
||||
int a,b,c;
|
||||
|
||||
void func()
|
||||
{
|
||||
int* fail;
|
||||
*fail = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
Foo foo = Foo(1,10,73);
|
||||
foo.func();
|
||||
}
|
||||
Reference in New Issue
Block a user