Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / rfg5.C
blob11ee9c035567cfe96318a70a4d9f9bec4eb5bb26
1 // { dg-do assemble  }
2 // { dg-options "-ansi -pedantic-errors -w" }
3 // Bug: func is treated as an overloaded function when it isn't.
5 int *func () { return 0; }
7 void
8 test ()
10   *func;                        // { dg-bogus "" } improper overloading