OSDN Git Service

* lib/g++-dg.exp (g++-dg-test): Add "repo" option.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.ext / attrib5.C
1 // { dg-do run { xfail alpha*-dec-osf* *-*-hms i?86-pc-cygwin *-*-coff } }
2 // Test that attributes weak and alias coexist.
3
4 extern "C" {
5   void f () __attribute__((weak, alias ("_f")));
6   void _f () { }
7 }
8
9 int main ()
10 {
11   f ();
12 }