dynamic type resolution in ir tree / type generation pass

This commit is contained in:
Ryan Fleury
2025-04-29 15:06:06 -07:00
parent 4cccc9cb42
commit 0a214fda3c
2 changed files with 81 additions and 1 deletions
+13 -1
View File
@@ -1266,7 +1266,19 @@ struct Derived : Base
int b;
int a;
virtual ~Derived() = default;
virtual void Foo() {a += 1;}
virtual void Foo()
{
x += 1;
y += 1;
y += 1;
z += 1;
z += 1;
z += 1;
a += 1;
a += 1;
a += 1;
a += 1;
}
};
struct DerivedA : Base