2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib5.C
blob7a77d6154d36353bb132244a3c1134ac8dff5b2d
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.
4 extern "C" {
5   void f () __attribute__((weak, alias ("_f")));
6   void _f () { }
9 int main ()
11   f ();