p4-0x.cpp 155 B

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