// RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++0xstruct A {};struct B {operator A*();};struct C : B {};voidfoo(C c, B b,intA::* pmf) {int j = c->*pmf;int i = b->*pmf;}struct D {operatorconst D *();};struct DPtr {operator volatileintD::*();};inttest(D d, DPtr dptr) {return d->*dptr;}