repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
attrib5.C
blob
7a77d6154d36353bb132244a3c1134ac8dff5b2d
1
// { dg-do run { xfail alpha*-dec-osf* *-*-hms i?86-pc-cygwin *-*-coff hppa2*-hp-hpux11* } }
2
// Test that attributes weak and alias coexist.
3
4
extern "C" {
5
void f () __attribute__((weak, alias ("_f")));
6
void _f () { }
7
}
8
9
int main ()
10
{
11
f ();
12
}