mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-06 20:09:03 +02: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:
8
tests/mini/scope2.d
Normal file
8
tests/mini/scope2.d
Normal file
@@ -0,0 +1,8 @@
|
||||
module scope2;
|
||||
extern(C) int printf(char*, ...);
|
||||
void main()
|
||||
{
|
||||
scope(exit) printf("exit\n");
|
||||
scope(failure) printf("failure\n");
|
||||
scope(success) printf("success\n");
|
||||
}
|
||||
Reference in New Issue
Block a user