[NFC] Fix a test faliing in AIX
See https://reviews.llvm.org/D140867. The signature of the constructor/destrucor of the global variables is different in different targets. And the CHECKs in the test is unavailable in other targets (e.g., AIX). So the patch tries to avoid the test failure by requiring the target type.
Loading
Please sign in to comment