Fix a bot failure from r343042.

llvm-svn: 343050
This commit is contained in:
Erik Pilkington
2018-09-25 23:52:29 +00:00
parent b2a00acb24
commit 707c0ab755

View File

@@ -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