blob: 76fea4639b99c5a568331500c435a813b3339c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Test that attributes weak and alias coexist.
// excess errors test - XFAIL alpha*-dec-osf* *-*-hms i?86-pc-cygwin *-*-coff
extern "C" {
void f () __attribute__((weak, alias ("_f")));
void _f () { }
}
int main ()
{
f ();
}
|