blob: 191fede6389bb7ff574f54211b08e0e696a34787 (
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 hppa*-*-hpux*
extern "C" {
void f () __attribute__((weak, alias ("_f")));
void _f () { }
}
int main ()
{
f ();
}
|