aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/tree-prof/lipo/comdat_fixup_0.C
blob: 7743a0b368021b301a9b5e0c15248bf352ed6ccd (plain)
1
2
3
4
5
6
7
8
9
/* { dg-options "-O2 -fno-inline -fprofile-generate-buildinfo=$srcdir/g++.dg/tree-prof/lipo/buildinfo.txt" } */
#include <stdio.h>

extern int foo1(int x);
extern int foo2(int x);
int main()
{
  printf ("Result = %d\n", foo1(1) + foo2(1));
}