We need a longer long when testing this pathe Microsoft fixed-underlying-type extension for enumeration types

llvm-svn: 126250
This commit is contained in:
Douglas Gregor 2011-02-22 21:42:31 +00:00
parent 5f88bcc16a
commit 996a735b88
2 changed files with 2 additions and 2 deletions

View File

@ -76,6 +76,6 @@ struct X0 {
enum E1 : seventeen;
};
enum : long { // expected-warning{{enumeration types with a fixed underlying type are a Microsoft extension}}
enum : long long { // expected-warning{{enumeration types with a fixed underlying type are a Microsoft extension}}
SomeValue = 0x100000000
};

View File

@ -119,6 +119,6 @@ struct X0 {
enum E1 : seventeen;
};
enum : long { // expected-warning{{enumeration types with a fixed underlying type are a Microsoft extension}}
enum : long long { // expected-warning{{enumeration types with a fixed underlying type are a Microsoft extension}}
SomeValue = 0x100000000
};