aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear/call-direct.c
blob: 78321ab02715bf3322f671dd63aa2d2fd2a71613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern int fun(void);

int ff(void) { return fun(); }

int f0(void) { return (fun)(); }

/*
 * check-name: direct calls
 * check-command: test-linearize -Wno-decl $file
 *
 * check-output-ignore
 * check-output-excludes: load
 * check-output-pattern(2): call\..* fun
 */