diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2013-07-30 19:00:45 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2013-07-30 19:00:45 +0000 |
| commit | b162939c1a3e360ce128997223acd1eadc696d83 (patch) | |
| tree | e58c5c504c6506e80071a729fa57ddc7225395ea /libcxxabi/test | |
| parent | 67fa4114a67ab21f9e970e18c94aa675b5da7943 (diff) | |
| download | bcm5719-llvm-b162939c1a3e360ce128997223acd1eadc696d83.tar.gz bcm5719-llvm-b162939c1a3e360ce128997223acd1eadc696d83.zip | |
tip-of-trunk clang has corrected some access checks for special members in a virtual inheritance hierarchy. Change a few private inheritances to protected. This change will not impact what the test was testing. This fixes http://llvm.org/bugs/show_bug.cgi?id=16753.
llvm-svn: 187429
Diffstat (limited to 'libcxxabi/test')
| -rw-r--r-- | libcxxabi/test/dynamic_cast3.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxxabi/test/dynamic_cast3.cpp b/libcxxabi/test/dynamic_cast3.cpp index b515d3c0cea..2ce77f38b5d 100644 --- a/libcxxabi/test/dynamic_cast3.cpp +++ b/libcxxabi/test/dynamic_cast3.cpp @@ -1041,7 +1041,7 @@ struct A1 }; struct A2 - : private virtual A1 + : protected virtual A1 { char _[34981]; virtual ~A2() {} @@ -1216,7 +1216,7 @@ struct A1 }; struct A2 - : private virtual A1 + : protected virtual A1 { char _[34981]; virtual ~A2() {} @@ -1330,7 +1330,7 @@ struct A1 }; struct A2 - : private virtual A1 + : protected virtual A1 { char _[34981]; virtual ~A2() {} @@ -1387,7 +1387,7 @@ struct A1 }; struct A2 - : private virtual A1 + : protected virtual A1 { char _[34981]; virtual ~A2() {} |

