1 /* { dg-do compile } */ 2 /* { dg-require-profiling "-fprofile-generate" } */ 3 /* { dg-options "-O -fprofile-generate -fdump-ipa-cgraph" } */ 4 /* { dg-final { scan-ipa-dump "/profile-dir-2.gcda" "cgraph" } } */ 5 6 int main(void)7main(void) 8 { 9 return 0; 10 } 11 12 /* { dg-final { cleanup-ipa-dump "cgraph" } } */ 13