annotate undefined/scope_08_F.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
parents c87fab2c0689
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
900
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
1 // $HeadURL$
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
2 // $Date$
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
3 // $Author$
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
4
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
5 // @author@ <thomas-dloop@kuehne.cn>
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
6 // @date@ 2006-03-09
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
7 // @uri@ news:bug-29-3@http.d.puremagic.com/bugzilla/
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
8
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
9 module dstress.undefined.scope_08_F;
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
10
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
11 int main(){
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
12 scope(failure){
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
13 return 0;
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
14 }
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
15
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
16 throw new Exception("msg");
c87fab2c0689 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
17 }