Add a testcase that checks that we generate functions with frame
pointers or not depending upon the function attributes.