diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-12-14 18:11:51 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-12-14 18:11:51 +0000 |
commit | 6e07ccdfe1f7cd200f922e1e6b41b3302f6180c8 (patch) | |
tree | 5e2f865d17b7b92384c752159cd79f172f7938c6 | |
parent | 25090a91bbd77a0bb169ff32e0551be32a7b4c27 (diff) | |
download | bcm5719-llvm-6e07ccdfe1f7cd200f922e1e6b41b3302f6180c8.tar.gz bcm5719-llvm-6e07ccdfe1f7cd200f922e1e6b41b3302f6180c8.zip |
K-Ballo pointed out a mistake in the add_lvalue_ref tests I checked in; now more of them are passing. Thanks
llvm-svn: 255519
-rw-r--r-- | libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp index 5886d982661..fb53312cbe6 100644 --- a/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp +++ b/libcxx/test/std/utilities/meta/meta.trans/meta.trans.ref/add_lvalue_ref.pass.cpp @@ -52,8 +52,8 @@ int main() test_add_lvalue_reference<int*, int*&>(); test_add_lvalue_reference<const int*, const int*&>(); -// LWG 2101 specifically talks about add_lvalue_reference and functions. -// The term of art is "a referenceable type", which a cv- or ref-qualified function is not. +// LWG 2101 specifically talks about add_lvalue_reference and functions. +// The term of art is "a referenceable type", which a cv- or ref-qualified function is not. test_function0<void()>(); // test_function1<void() const>(); // test_function1<void() &>(); @@ -62,9 +62,9 @@ int main() // test_function1<void() const &&>(); test_function0<void (Foo::*)()>(); -// test_function1<void (Foo::*)() const>(); -// test_function1<void (Foo::*)() &>(); -// test_function1<void (Foo::*)() &&>(); -// test_function1<void (Foo::*)() const &>(); -// test_function1<void (Foo::*)() const &&>(); + test_function0<void (Foo::*)() const>(); + test_function0<void (Foo::*)() &>(); + test_function0<void (Foo::*)() &&>(); + test_function0<void (Foo::*)() const &>(); + test_function0<void (Foo::*)() const &&>(); } |