mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-23 04:09:02 +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:
11
tests/mini/bug45.d
Normal file
11
tests/mini/bug45.d
Normal file
@@ -0,0 +1,11 @@
|
||||
module bug45;
|
||||
|
||||
void foo() {
|
||||
int bar;
|
||||
scope(exit) { bar++; }
|
||||
if (bar) return;
|
||||
}
|
||||
|
||||
void main() {
|
||||
foo();
|
||||
}
|
||||
Reference in New Issue
Block a user