virtualx-engine/modules/gdscript/tests/scripts/runtime/features/string_stringname_equivalent.gd
2022-12-05 21:46:47 -05:00

11 lines
333 B
GDScript

# https://github.com/godotengine/godot/issues/64171
func test():
print("Compare ==: ", "abc" == &"abc")
print("Compare ==: ", &"abc" == "abc")
print("Compare !=: ", "abc" != &"abc")
print("Compare !=: ", &"abc" != "abc")
print("Concat: ", "abc" + &"def")
print("Concat: ", &"abc" + "def")
print("Concat: ", &"abc" + &"def")