aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/inline-generic.c
blob: 1f05c07904b5fce272eee0b8e2e02efaca0f4b1d (plain)
1
2
3
4
5
6
7
8
9
10
extern int a, b;
inline int c(void) { return a++; }
inline int e(int d) { return 0; }
inline unsigned f(void) { return e(_Generic(b, int: c())); }
static int g(void) { return f(); }
static int h(void) { return f(); }

/*
 * check-name: inline-generic
 */