1 /* { dg-do compile } */
2 /* { dg-options "-fstrub=strict -fdump-ipa-strub" } */
3 /* { dg-require-effective-target strub } */
5 /* The pointed-to data enables strubbing if accessed. */
6 int __attribute__ ((__strub__
)) var
;
12 /* { dg-final { scan-ipa-dump "strub_enter" "strub" } } */
13 /* { dg-final { scan-ipa-dump "strub_leave" "strub" } } */
14 /* { dg-final { scan-ipa-dump "strub_update" "strub" } } */