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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.ext
/
attrib5.C
blob
2a7e145856c9d1daa7e7d326f05ee2796b5b6107
1
// { dg-do run { xfail alpha*-dec-osf* *-*-hms i?86-pc-cygwin *-*-coff } }
2
// Test that attributes weak and alias coexist.
3
// { dg-require-weak "" }
4
// { dg-require-alias "" }
5
6
extern "C" {
7
void _f () { }
8
void f () __attribute__((weak, alias ("_f")));
9
}
10
11
int main ()
12
{
13
f ();
14
}