Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / overload26.C
blob681473f26c8efa824e4f08694142561253c6112d
1 // { dg-do assemble  }
2 // Bug: g++ tries to build up a mangled name for its ideal match, which
3 // fails for one call below.
5 extern const char foo[];
6 extern const char baz[10];
7 extern const char *fred;
9 struct A {
10   void f(const char *);
11 } *a;
13 void bing(const char *);
14 int main ()
16         a->f(foo);              // { dg-bogus "" }  because foo's size unknown.
17         a->f(baz);
18         a->f(fred);
19         bing(fred);
20         bing(foo);
21         bing(baz);