Fixing this test which failed due to different warnings

This commit is contained in:
Aaron Ballman 2021-12-06 14:12:54 -05:00
parent 64ba9dd943
commit ead449aee4
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ void test_builtin_elementwise_max(int i, short s, double d, float4 v, int3 iv, i
enum f { three };
enum f x = __builtin_elementwise_max(one, three);
_BitInt(32) ext;
_BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}}
ext = __builtin_elementwise_max(ext, ext);
const int ci;
@ -112,7 +112,7 @@ void test_builtin_elementwise_min(int i, short s, double d, float4 v, int3 iv, i
enum f { three };
enum f x = __builtin_elementwise_min(one, three);
_BitInt(32) ext;
_BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}}
ext = __builtin_elementwise_min(ext, ext);
const int ci;