Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
no-stack-protector-attr-2.C
blob: 6db6fef58d1e85ac255d917e4db8f9fda22ded17 [
file
] [
log
] [
blame
]
/* PR c/94722 */
/* { dg-do compile } */
int
__attribute__
((
no_stack_protector
,
stack_protect
))
c
()
/* { dg-warning "ignoring attribute 'stack_protect' because it conflicts with attribute 'no_stack_protector'" } */
{
return
0
;
}