1 /* { dg-do compile } */
7 ~CString() { operator delete(_rep); }
8 operator const char*() const { return _rep; }
19 String(const char* str);
21 CString getCString() const;
24 int is_absolute_path(const char *path);
26 inline void getAbsolutePath(
28 const String& filename)
30 (!is_absolute_path(filename.getCString()) && path);
36 int main(int argc, char** argv)
38 int repeatTestCount = 0;
39 if (foo(repeatTestCount))
43 for (int numTests = 1; numTests <= repeatTestCount; numTests++)
45 getAbsolutePath("blah", "blah");