summaryrefslogtreecommitdiff
path: root/clang/test/CXX/dcl.decl/p4-0x.cpp
blob: 98c33b25f4d2f19bd63244f7b23060a5aa16a979 (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s

struct X {
  void f() &;
  void g() &&;
};

void (X::*pmf)() & = &X::f;