2 // { dg-options "-fdump-tree-optimized" }
7 int simd_ignored
; // { dg-warning ".simd. attribute ignored" }
9 @attribute("simd", 123)
10 int simd_string() { return 0; } // { dg-error ".simd. attribute argument not a string constant" }
12 @attribute("simd", "invalid")
13 int simd_invalid() { return 0; } // { dg-error "only .inbranch. and .notinbranch. flags are allowed for .simd. attribute" }
15 @attribute("simd", "notinbranch", "inbranch")
16 int simd_wrong_args() { return 0; } // { dg-error "wrong number of arguments specified for .simd. attribute" }