summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/ia64/versionid-2.c
blob: 258de09113f8ec7eea02ca5bdf99c74c3c6e3c5c (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 foo(int i)
{
	return (1);
}

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