aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl')
-rw-r--r--clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl b/clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
index 2320e13..fbb47bd 100644
--- a/clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
+++ b/clang/test/SemaHLSL/Language/AggregateSplatCast-errors.hlsl
@@ -13,12 +13,6 @@ struct R {
};
};
-// casting types which contain bitfields is not yet supported.
-export void cantCast() {
- S s = (S)1;
- // expected-error@-1 {{no matching conversion for C-style cast from 'int' to 'S'}}
-}
-
// Can't cast a union
export void cantCast2() {
R r = (R)1;