☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
no-stack-protector-attr-2.C
☽
☼
gcc/testsuite/g++.dg/no-stack-protector-attr-2.C
code
plain
raw
1
/* PR c/94722 */
2
/* { dg-do compile } */
3
4
int __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
}