mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-02 00:11:30 +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:
10
tests/mini/scope1.d
Normal file
10
tests/mini/scope1.d
Normal file
@@ -0,0 +1,10 @@
|
||||
module scope1;
|
||||
extern(C) int printf(char*, ...);
|
||||
void main()
|
||||
{
|
||||
printf("1\n");
|
||||
{
|
||||
scope(exit) printf("2\n");
|
||||
}
|
||||
printf("3\n");
|
||||
}
|
||||
Reference in New Issue
Block a user