diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-01-17 22:24:45 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2017-01-17 22:24:45 +0000 |
commit | 6d184d1fb16e33e230d38a8316d43c02e182641e (patch) | |
tree | 554902fd4df345960d1c4c70ab536751bc17f368 /libcxx/test/std/utilities/meta/meta.unary | |
parent | e2c9ad94838b4bceea8b518a8dd52ae93276995f (diff) | |
download | bcm5719-llvm-6d184d1fb16e33e230d38a8316d43c02e182641e.tar.gz bcm5719-llvm-6d184d1fb16e33e230d38a8316d43c02e182641e.zip |
[libcxx] [test] Don't ask whether Incomplete& can be assigned to.
This is the subject of an active NB comment. Regardless of what the Working
Paper currently says, asking this question is morally wrong, because the
answer can change when the type is completed. C1XX now detects such
precondition violations and complains about them; perhaps Clang should too.
Fixes D28591.
llvm-svn: 292281
Diffstat (limited to 'libcxx/test/std/utilities/meta/meta.unary')
-rw-r--r-- | libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp index f4736e71342..3955d4bc330 100644 --- a/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp +++ b/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_assignable.pass.cpp @@ -82,5 +82,4 @@ int main() // pointer to incomplete template type test_is_assignable<X<D>*&, X<D>*> (); - test_is_not_assignable<Incomplete&, Incomplete const&>(); } |