code: def check_inline(cmd):
      """Return the inline identifier (may be empty)."""
      cmd._check_compiler()
      body = """
  #ifndef __cplusplus
  static %(inline)s int static_func (void)
  {
      return 0;
  }
  %(inline)s int nostatic_func (void)
  {
      return 0;
  }
  #endif"""
  
      for kw in ["inline", "__inline__", "__inline"]:
          st = cmd.try_compile(body % {"inline": kw}, None, None)
          if st:
              return kw
  
      return ""
  
imports: from __future__ import division, absolute_import, print_function
label_desc: Use image node_id 1 for calling a global function with example usage: check_inline(cmd) and returns: str, kw