From ead449aee4c1bd3ad309185528c430fdbd06cf2f Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 6 Dec 2021 14:12:54 -0500 Subject: [PATCH] Fixing this test which failed due to different warnings --- clang/test/Sema/builtins-elementwise-math.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Sema/builtins-elementwise-math.c b/clang/test/Sema/builtins-elementwise-math.c index 19e9c00..4008f77 100644 --- a/clang/test/Sema/builtins-elementwise-math.c +++ b/clang/test/Sema/builtins-elementwise-math.c @@ -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; -- 2.7.4