Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / operator2.C
blob892ed3f1df37f0ac358d3a410d73b6e3f1f6ed86
1 // { dg-do assemble  }
2 // PRMS Id: 6018
4 class string {
5     char *p;
6 public:
7     string(const char* s) ;// { p == s; }
8     operator const char*() ;// { return s; }
9 };
11 void f4(string& s)
13         *s;     // implies "s.operator const char*()"