Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gdc.dg / attr_restrict1.d
blob26839c3c00037c7113328bf999ec50701fee6e70
1 // { dg-do compile }
2 // { dg-options "-fdump-tree-optimized" }
4 import gcc.attributes;
6 int func(@restrict int ignored) // { dg-warning ".restrict. attribute ignored" }
8 return 0;
11 int func(@restrict int *parm)
13 return 0;
16 @restrict int var = 0; // { dg-warning ".restrict. attribute ignored" }
18 // { dg-final { scan-tree-dump "restrict parm" "optimized" } }