2 // { dg-options "-fdump-tree-optimized" }
6 int func(@restrict int ignored
) // { dg-warning ".restrict. attribute ignored" }
11 int func(@restrict int *parm
)
16 @restrict int var
= 0; // { dg-warning ".restrict. attribute ignored" }
18 // { dg-final { scan-tree-dump "restrict parm" "optimized" } }