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