Initial environment loading (not working)
This commit is contained in:
@@ -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