kill-slice.c 253 B

1234567891011121314151617181920
  1. struct bar {
  2. int x;
  3. int y[2];
  4. };
  5. struct bar bar(void);
  6. int foo(void)
  7. {
  8. int x = bar().x;
  9. return x & 0;
  10. }
  11. /*
  12. * check-name: kill-slice
  13. * check-command: test-linearize -Wno-decl $file
  14. * check-output-ignore
  15. *
  16. * check-output-excludes: slice\\.
  17. */