diff options
Diffstat (limited to 'clang/test/CXX/dcl.decl/p4-0x.cpp')
-rw-r--r-- | clang/test/CXX/dcl.decl/p4-0x.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CXX/dcl.decl/p4-0x.cpp b/clang/test/CXX/dcl.decl/p4-0x.cpp new file mode 100644 index 0000000..98c33b2 --- /dev/null +++ b/clang/test/CXX/dcl.decl/p4-0x.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s + +struct X { + void f() &; + void g() &&; +}; + +void (X::*pmf)() & = &X::f; |