xref: /minix3/external/bsd/llvm/dist/clang/test/CXX/dcl.decl/p4-0x.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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