mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 17:13:20 +01:00
[svn r35] * Attributes on struct fields/methods now work
* Updated object.d to 1.021 * Added -novalidate command line option. this is sometimes useful when debugging as it may let you read the .ll even if it's invalid.
This commit is contained in:
17
test/bug5.d
Normal file
17
test/bug5.d
Normal file
@@ -0,0 +1,17 @@
|
||||
module bug5;
|
||||
|
||||
struct hah {
|
||||
static hah f()
|
||||
{
|
||||
hah res;
|
||||
return res;
|
||||
}
|
||||
hah g()
|
||||
{
|
||||
return hah.init;
|
||||
}
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user