K-Ballo pointed out a mistake in the add_lvalue_ref tests I checked in; now more of them are passing. Thanks
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@255519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d18b496f7e
commit
90e328c271
@ -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 &&>();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user