mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-14 19:03:14 +01:00
[svn r104] TONS OF FIXES.
Split up declaration, constant initializer gen and definition for globals, structs, classes and functions. Improved ClassInfo support (not complete), not in vtable yet. Fixed a bunch of forward reference problems. Much more. Major commit! :)
This commit is contained in:
@@ -6,17 +6,18 @@ class C
|
||||
{
|
||||
}
|
||||
|
||||
void func()
|
||||
void func(bool b)
|
||||
{
|
||||
if (rand() & 1)
|
||||
if (b)
|
||||
throw new C;
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
bool b = true;
|
||||
try
|
||||
{
|
||||
func();
|
||||
func(b);
|
||||
}
|
||||
catch(Object)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user