1 /* PR c/94722 */ 2 /* { dg-do compile } */ 3 c()4int __attribute__((no_stack_protector, stack_protect)) c() /* { dg-warning "ignoring attribute 'stack_protect' because it conflicts with attribute 'no_stack_protector'" } */ 5 { 6 return 0; 7 } 8
1 /* PR c/94722 */ 2 /* { dg-do compile } */ 3 c()4int __attribute__((no_stack_protector, stack_protect)) c() /* { dg-warning "ignoring attribute 'stack_protect' because it conflicts with attribute 'no_stack_protector'" } */ 5 { 6 return 0; 7 } 8