Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.old-deja/g++.law/profile1.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
2 // { dg-require-profiling "-pg" } | 2 // { dg-require-profiling "-pg" } |
3 // { dg-options "-pg" } | 3 // { dg-options "-pg" } |
4 // { dg-options "-pg -static" { target hppa*-*-hpux* } } | 4 // { dg-options "-pg -static" { target hppa*-*-hpux* } } |
5 // GROUPS passed profiling | 5 // GROUPS passed profiling |
6 #include <stdio.h> | 6 #include <stdio.h> |
7 | |
8 int | |
7 main() | 9 main() |
8 { | 10 { |
9 printf ("PASS\n"); | 11 printf ("PASS\n"); |
12 return 0; | |
10 } | 13 } |
11 | 14 |
12 /* { dg-final { cleanup-profile-file } } */ | 15 /* { dg-final { cleanup-profile-file } } */ |