mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 16:43:13 +01:00
[svn r93] a few fixes, some phobos additions.
some very rough groundwork for moduleinfo and classinfo support
This commit is contained in:
5
test/bug52.d
Normal file
5
test/bug52.d
Normal file
@@ -0,0 +1,5 @@
|
||||
module bug52;
|
||||
struct Vec { double x,y,z; }
|
||||
struct Pair(T, U) { T first; U second; }
|
||||
typedef Pair!(double, Vec) Hit;
|
||||
void main() {}
|
||||
11
test/moduleinfo1.d
Normal file
11
test/moduleinfo1.d
Normal file
@@ -0,0 +1,11 @@
|
||||
module moduleinfo1;
|
||||
|
||||
class C
|
||||
{
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
C c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user