Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / lookup / friend8.C
blobe9992cdadf41924a215394be75784f66f3c0e57b
1 // Test that we look up a friend declared at top level ahead of an
2 // undeclared friend found by argument dependent lookup.
4 // { dg-do run }
6 int f(int) { return 0; }
8 struct S {
9   friend int f(char) { return 1; }
12 int main () { return f('a'); }