1// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4struct X {
5  void f() &;
6  void g() &&;
7};
8
9void (X::*pmf)() & = &X::f;
10