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