llvm-project/clang/test/CXX/dcl.decl/p4-0x.cpp

9 lines
128 B
C++
Raw Normal View History

// RUN: %clang_cc1 -std=c++0x -fsyntax-only -verify %s
struct X {
void f() &;
void g() &&;
};
void (X::*pmf)() & = &X::f;