aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/ia64/versionid-1.c
blob: 4ee8224a7d28b6448db810c1f0979e84eff98beb (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target ia64-*-hpux* } } */

extern int foo () __attribute__((version_id ("20040821")));

int bar(int i)
{
	return (foo() + 1);
}

/* { dg-final { scan-assembler "alias.*foo.*foo\\\{20040821\\\}" } } */