1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
extern void def(void *, unsigned int); static int bar(void) { int x[2] = { 1, 2 }; def(x, sizeof(x)); return x[1]; } /* * check-name: eval/addressable-degen * check-command: test-linearize -fdump-ir $file * * check-output-ignore * check-output-contains: load\\. */