From: Erik Pilkington Date: Tue, 25 Sep 2018 23:52:29 +0000 (+0000) Subject: Fix a bot failure from r343042. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c531bbd2d9553f1f337d9deb8fe0a9b6905dd2f4;p=clang Fix a bot failure from r343042. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343050 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/warn-duplicate-enum.c b/test/Sema/warn-duplicate-enum.c index 4536d0aced..4d51d055f5 100644 --- a/test/Sema/warn-duplicate-enum.c +++ b/test/Sema/warn-duplicate-enum.c @@ -1,5 +1,5 @@ // RUN: %clang_cc1 %s -fsyntax-only -verify -Wduplicate-enum -// RUN: %clang_cc1 %s -x c++ -DCPP -fsyntax-only -verify -Wduplicate-enum +// RUN: %clang_cc1 -triple x86_64-apple-darwin %s -x c++ -DCPP -fsyntax-only -verify -Wduplicate-enum enum A { A1 = 0, // expected-note {{element 'A1' also has value 0}} A2 = -1, @@ -104,6 +104,6 @@ enum enum2 { #ifdef CPP enum BigEnumerators : long { e1, - e2 = 9223372036854775807L, + e2 = __LONG_MAX__, }; #endif