code: def check_restrict(cmd):
      """Return the restrict identifier (may be empty)."""
      cmd._check_compiler()
      body = """
  static int static_func (char * %(restrict)s a)
  {
      return 0;
  }
  """
  
      for kw in ["restrict", "__restrict__", "__restrict"]:
          st = cmd.try_compile(body % {"restrict": kw}, None, None)
          if st:
              return kw
  
      return ""
  
imports: from __future__ import division, absolute_import, print_function
label_desc: Use image node_id 2 for calling a global function with example usage: check_restrict(cmd) and returns: str, kw