blob: 6c56d4555b116980a12532f6618f1be2ea68898a [file] [log] [blame]
// { dg-do assemble }
// GROUPS passed templates
class X {
const char *fptr;
public:
X(const char *ptr) { fptr = ptr; }
operator const char*() { return fptr; }
};
int main(){
X x1("1234");
X x2(x1+1);
}