cmake HG_UTIL_HAS_ATTR_CONSTRUCTOR_PRIORITY examples

mercury-hpc/mercury src/util/CMakeLists.txt :65

check_c_source_compiles(
  "
  static void test_constructor(void) __attribute__((constructor(101)));
  int main(void) {return 0;}
  "
  HG_UTIL_HAS_ATTR_CONSTRUCTOR_PRIORITY
)