t4018: test cases for the built-in cpp pattern