gcc/testsuite/g++.old-deja/g++.law/profile1.C
raw| 1 | // { dg-do run } |
| 2 | // { dg-require-profiling "-pg" } |
| 3 | // { dg-options "-pg" } |
| 4 | // { dg-options "-pg -static" { target hppa*-*-hpux* } } |
| 5 | // GROUPS passed profiling |
| 6 | #include <stdio.h> |
| 7 | |
| 8 | int |
| 9 | main() |
| 10 | { |
| 11 | printf ("PASS\n"); |
| 12 | return 0; |
| 13 | } |
| 14 | |
| 15 | /* { dg-final { cleanup-profile-file } } */ |