]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/ssp-3.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / ssp-3.c
CommitLineData
b4e9251d
JG
1/* { dg-do assemble } */
2/* { dg-options "-fstack-protector-strong -O1 -frename-registers" } */
3/* { dg-require-effective-target fstack_protector } */
4
5extern int bar (const char *s, int *argc);
6extern int baz (const char *s);
7
8char
9foo (const char *s)
10{
11 int argc;
12 int ret;
13 if ( !bar (s, &argc))
14 ret = baz (s);
15 return *s;
16}