| commit | 074f8d7777c9eb13489982ecbfff198248f5ad57 | [log] [tgz] |
|---|---|---|
| author | Eric Fiselier <eric@efcs.ca> | Wed Jul 20 02:57:39 2016 +0000 |
| committer | Eric Fiselier <eric@efcs.ca> | Wed Jul 20 02:57:39 2016 +0000 |
| tree | 909ce52c506f47c34918e95c2b1c9d2415375d8b | |
| parent | 6bc56d552ad52a19f23269e66fceea6c2beeb168 [diff] |
Add tests for reference binding assertions in std::tuple. Libc++ provides static assertions to detect reference binding issues inside tuple. This patch adds tests for those diagnostics. It should be noted that these static assertions technically violate the standard since it allows these illegal bindings to occur. Also see https://llvm.org/bugs/show_bug.cgi?id=20855 llvm-svn: 276078