add test for LLVM's PR20186