bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU Global does not jump to typedef definition correctly


From: Tu Do
Subject: GNU Global does not jump to typedef definition correctly
Date: Tue, 15 Apr 2014 01:49:26 +0700

Example code:

#include <stdio.h>

typedef int (test_t) (int a);

struct test {
  test_t *test_func;
};

int test_a (int a) {
  return a + 1;
}

int main(int *argc, char argv[])
{
  struct test a;

  a.test_func = test_a;

  return 0;
}
Regards,

Tu.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]