OSDN Git Service

* NEWS: Document removal of "new X = ..." extension.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib5.C
1 // Test that attributes weak and alias coexist.
2 // excess errors test - XFAIL alpha*-dec-osf* *-*-hms i?86-pc-cygwin *-*-coff
3
4 extern "C" {
5   void f () __attribute__((weak, alias ("_f")));
6   void _f () { }
7 }
8
9 int main ()
10 {
11   f ();
12 }