Searched refs:MemPtrTest (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Dconstexpr-printing.cpp66 struct MemPtrTest { struct in struct:V
70 MemPtrTest mpt; // expected-note {{here}}
71 constexpr int MemPtr(int (MemPtrTest::*a), void (MemPtrTest::*b)(), int &c) { argument
74 static_assert(MemPtr(&MemPtrTest::n, &MemPtrTest::f, mpt.*&MemPtrTest::n), ""); // expected-error {{constant expression}} \
75 expected-note {{in call to 'MemPtr(&MemPtrTest::n, &MemPtrTest::f, mpt.n)'}}

Completed in 226 milliseconds