OSDN Git Service

* g++.old-deja/g++.eh/cleanup2.C: New test.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib5.C
1 // Test that attributes weak and alias coexist.
2
3 extern "C" {
4   void f () __attribute__((weak, alias ("_f")));
5   void _f () { }
6 }
7
8 int main ()
9 {
10   f ();
11 }