Create pat_1002.cpp