forked from Dynamitos/Seele
Initial environment loading (not working)
This commit is contained in:
1 parent
4a34220cd7
commit
aa1f037cb5
41 files changed
+553
-208
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#include "EngineTest.h"
|
||||
|
||||
struct Foo {};
|
||||
|
||||
struct Derivate : public Foo {};
|
||||
|
||||
TEST(RefPtr, ImplicitUpcast) {
|
||||
OwningPtr<Derivate> owner = new Derivate();
|
||||
RefPtr<Derivate> der = owner;
|
||||
RefPtr<Foo> foo = der;
|
||||
}
|
||||
Reference in new issue
Block a user