xref: /aosp_15_r20/external/clang/test/CXX/dcl.decl/p4-0x.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 
4 struct X {
5   void f() &;
6   void g() &&;
7 };
8 
9 void (X::*pmf)() & = &X::f;
10