Later same name .declare pragma will override previously defined one. This patch add a test case for that feature.