@@ -626,27 +626,6 @@ void test_builtin_elementwise_sqrt(int i, float f, double d, float4 v, int3 iv,
626626 // expected-error@-1 {{1st argument must be a floating point type (was 'unsigned4' (vector of 4 'unsigned int' values))}}
627627}
628628
629- void test_builtin_elementwise_tan (int i , float f , double d , float4 v , int3 iv , unsigned u , unsigned4 uv ) {
630-
631- struct Foo s = __builtin_elementwise_tan (f );
632- // expected-error@-1 {{initializing 'struct Foo' with an expression of incompatible type 'float'}}
633-
634- i = __builtin_elementwise_tan ();
635- // expected-error@-1 {{too few arguments to function call, expected 1, have 0}}
636-
637- i = __builtin_elementwise_tan (i );
638- // expected-error@-1 {{1st argument must be a floating point type (was 'int')}}
639-
640- i = __builtin_elementwise_tan (f , f );
641- // expected-error@-1 {{too many arguments to function call, expected 1, have 2}}
642-
643- u = __builtin_elementwise_tan (u );
644- // expected-error@-1 {{1st argument must be a floating point type (was 'unsigned int')}}
645-
646- uv = __builtin_elementwise_tan (uv );
647- // expected-error@-1 {{1st argument must be a floating point type (was 'unsigned4' (vector of 4 'unsigned int' values))}}
648- }
649-
650629void test_builtin_elementwise_trunc (int i , float f , double d , float4 v , int3 iv , unsigned u , unsigned4 uv ) {
651630
652631 struct Foo s = __builtin_elementwise_trunc (f );
0 commit comments