c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / c-c++-common / strub-O3.c
blob3bbf132bdf1ea5a1c36798391c15b31bdf8fc826
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fstrub=strict -fdump-rtl-expand" } */
3 /* { dg-require-effective-target strub } */
5 int __attribute__ ((__strub__)) var;
7 int f() {
8 return var;
11 /* { dg-final { scan-rtl-dump-not "strub_enter" "expand" } } */
12 /* { dg-final { scan-rtl-dump-not "strub_update" "expand" } } */
13 /* { dg-final { scan-rtl-dump-not "strub_leave" "expand" } } */