Sha256: ee741b24a8baf6a76784c76d46a2d76f228ed538904d9db0a0cc6014cb3cc90d

Contents?: true

Size: 607 Bytes

Versions: 2

Compression:

Stored size: 607 Bytes

Contents

// This was initially reported as bug 931@github reported by Corax26 on
// 12/05/2016: the extern "C" declarations were missing from the ctags output.
//
// Additionally this test checks the +{c.properties} field for the "extern"
// property being properly set.

extern "C" void f(void);
extern "C" void g(void) {}

extern "C"
{
  // Please note that h() and i have internal linkage (but their name
  // mangling is C-style). h() is just a prototype while i is both
  // a declaration AND a definition of variable.
  void h(void);
  int i;

  // j has external linkage (declaration only).
  extern int j;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/Units/parser-cxx.r/extern.d/input.cpp
ctags.rb-1.1.3 ext/vendor/ctags/Units/parser-cxx.r/extern.d/input.cpp