summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime/features/const_class_reference.gd
blob: c7553769dabcb102859713666074de85127949a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# https://github.com/godotengine/godot/issues/61636

const External := preload("const_class_reference_external.notest.gd")

class Class1:
    class Class2:
        pass

const Class1Alias = Class1
const Class1Class2Alias = Class1.Class2

const ExternalAlias = External
const ExternalClassAlias = External.Class

func test():
    pass