|
@@ -1,4 +1,4 @@
|
|
|
-// RUN: %clang_cc1 -Wno-unused-value -fsyntax-only -ffreestanding -verify -verify-ignore-unexpected=note %s
|
|
|
+// RUN: %clang_cc1 -Wno-unused-value -fsyntax-only -ffreestanding -verify -verify-ignore-unexpected=note -HV 2018 %s
|
|
|
|
|
|
// Tests all implicit conversions and explicit casts between type shapes
|
|
|
// (scalars, vectors, matrices, arrays and structs).
|
|
@@ -312,4 +312,4 @@ void main()
|
|
|
(S5)m2x2; /* expected-error {{cannot convert from 'int2x2' to 'S5'}} fxc-error {{X3017: cannot convert from 'int2x2' to 'struct S5'}} */
|
|
|
(S4)a2; /* expected-error {{cannot convert from 'A2' (aka 'int [2]') to 'S4'}} fxc-error {{X3017: cannot convert from 'typedef int[2]' to 'struct S4'}} */
|
|
|
(S4)s2; /* expected-error {{cannot convert from 'S2' to 'S4'}} fxc-error {{X3017: cannot convert from 'struct S2' to 'struct S4'}} */
|
|
|
-}
|
|
|
+}
|