Added a cpp-bridge test for function-scope.
Added a cpp-bridge test for function-scope.

bh107/bohrium,bh107/bohrium,madsbk/bohrium,madsbk/bohrium,madsbk/bohrium,madsbk/bohrium,bh107/bohrium,bh107/bohrium