From 84ce46269cfda8800346706251ac3587b2d1c9f5 Mon Sep 17 00:00:00 2001 From: Saar Raz Date: Thu, 9 Jan 2020 16:13:46 +0200 Subject: [PATCH] [Concepts] Fix failing test on Windows Fix test failed by D43357 on Windows. --- clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp b/clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp index dba2ef204e1d66..36c68071448c79 100644 --- a/clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp +++ b/clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp @@ -79,11 +79,11 @@ namespace non_template return 0.0; } - void bar() requires (sizeof(long) >= 8) { } + void bar() requires (sizeof(char[8]) >= 8) { } // expected-note@-1 {{candidate function}} // expected-note@-2 {{similar constraint expressions not considered equivalent}} - void bar() requires (sizeof(long) >= 8 && sizeof(int) <= 30) { } + void bar() requires (sizeof(char[8]) >= 8 && sizeof(int) <= 30) { } // expected-note@-1 {{candidate function}} // expected-note@-2 {{similar constraint expression here}} @@ -111,4 +111,3 @@ namespace non_template static_assert(goo(1) == 1); static_assert(doo(2) == 1); // expected-error {{call to 'doo' is ambiguous}} } -