mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 10:58:11 +08:00
Fix a bot failure from r343042.
llvm-svn: 343050
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user