* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43643.c
blobb0c57c0a6dc3e891d2984a27b980fcaf5aeb1ece
1 /* Contributed by Jürgen Keil <jrgn.keil@googlemail.com> */
3 /* { dg-do run } */
4 /* { dg-require-profiling "-pg" } */
5 /* { dg-options "-O2 -pg" } */
6 /* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */
8 extern char *strdup (const char *);
10 void
11 func(char *a, char *b, char *c)
13 strdup(a);
14 strdup(b);
15 strdup(c);
18 int
19 main(void)
21 func("a", "b", "c");
22 return 0;
25 /* { dg-final { cleanup-profile-file } } */