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;}
- What is your environment (OS)?
- Ubuntu 13.10
- Which version of GLOBAL are you using?
- 6.2.12
- What did you do? (command line)
- global -d test_t
- What did you expect from it?
- *test_t *displayed correctly as a definition. It is a function
type. Other definitions got displayed correctly.
- What was occurred? (as is)
- Nothing is displayed
Regards,
Tu.
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global