[autodiff] Add complicated test case for gdar checker (#6366)
[autodiff] Add complicated test case for gdar checker (#6366)

Issue: #6239
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi