I assume the below code should have a potential issue due to the local variable is not "available", the behaviors should be undefined?
class foo { p