1 // RUN: %clang_cc1 -emit-llvm-only %s
3 // Tests that Sema properly creates member-access expressions for
4 // these instead of bare FieldDecls.
9 // We have to override these to get something with an lvalue result.
19 struct MemClass { int a; } memstruct;
26 p = &Test0::memarr[1];
27 p = &Test0::memptr->memint;
28 p = &Test0::memstruct.a;
38 namespace rdar9065289 {
39 typedef void (*FuncPtr)();