1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fstrub=strict -fdump-rtl-expand" } */
3 /* { dg-require-effective-target strub } */
5 /* At -O1, without -fno-inline, we fully expand enter, but neither update nor
8 int __attribute__ ((__strub__
)) var
;
14 /* { dg-final { scan-rtl-dump-not "strub_enter" "expand" } } */
15 /* { dg-final { scan-rtl-dump "strub_update" "expand" } } */
16 /* { dg-final { scan-rtl-dump "strub_leave" "expand" } } */