1 // { dg-do compile } 2 3 import gcc.attributes; 4 5 @optimize(-1) non_negative()6 int non_negative() // { dg-error "argument to .-O. should be a non-negative integer" } 7 { 8 return 0; 9 } 10