Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr43643.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 1830386684a0 |
line wrap: on
line source
/* Contributed by Jürgen Keil <jrgn.keil@googlemail.com> */ /* { dg-do run } */ /* { dg-require-profiling "-pg" } */ /* { dg-options "-O2 -pg" } */ /* { dg-options "-O2 -pg -static" { target hppa*-*-hpux* } } */ extern char *strdup (const char *); void func(char *a, char *b, char *c) { strdup(a); strdup(b); strdup(c); } int main(void) { func("a", "b", "c"); return 0; } /* { dg-final { cleanup-profile-file } } */