versionid-1.c: New test.
* gcc.target/ia64/versionid-1.c: New test. * gcc.target/ia64/versionid-2.c: New test. From-SVN: r121130
This commit is contained in:
parent
3b313c7838
commit
62df280550
|
@ -1,3 +1,8 @@
|
|||
2007-01-24 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* gcc.target/ia64/versionid-1.c: New test.
|
||||
* gcc.target/ia64/versionid-2.c: New test.
|
||||
|
||||
2007-01-24 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR testsuite/30181
|
||||
|
|
|
@ -0,0 +1,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}" } } */
|
|
@ -0,0 +1,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}" } } */
|
Loading…
Reference in New Issue