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:
parent
5f88bcc16a
commit
996a735b88
@ -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
|
||||
};
|
||||
|
||||
@ -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
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user