mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-14 00:24:03 -04:00
10 lines
155 B
C++
10 lines
155 B
C++
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
struct X {
|
|
void f() &;
|
|
void g() &&;
|
|
};
|
|
|
|
void (X::*pmf)() & = &X::f;
|