forked from OSchip/llvm-project
silence new -Wunused-result warnings in test
No functional changes intended.
After f156b51aec
,
new -Wunused-result warnings popped up in this test:
https://buildkite.com/llvm-project/upstream-bazel/builds/28320#bc3ec049-af39-4114-b7b8-4cbc180bc09b
This commit is contained in:
parent
1155c1fe65
commit
52328dafda
|
@ -66,9 +66,9 @@ TEST(ExtensibleRTTI, cast) {
|
|||
MyDerivedType D;
|
||||
MyBaseType &BD = D;
|
||||
|
||||
cast<MyBaseType>(D);
|
||||
cast<MyBaseType>(BD);
|
||||
cast<MyDerivedType>(BD);
|
||||
(void)cast<MyBaseType>(D);
|
||||
(void)cast<MyBaseType>(BD);
|
||||
(void)cast<MyDerivedType>(BD);
|
||||
}
|
||||
|
||||
TEST(ExtensibleRTTI, dyn_cast) {
|
||||
|
|
Loading…
Reference in New Issue