]> granicus.if.org Git - clang/commitdiff
We need a longer long when testing this pathe Microsoft fixed-underlying-type extensi...
authorDouglas Gregor <dgregor@apple.com>
Tue, 22 Feb 2011 21:42:31 +0000 (21:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 22 Feb 2011 21:42:31 +0000 (21:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126250 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/MicrosoftExtensions.c
test/SemaCXX/MicrosoftExtensions.cpp

index 59bf54eb62fe56ad7c643df5626d4605c08f2416..cb9fee9dc1d4960d217b495dfdca91b841d3af67 100644 (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
 };
index 3592e2760aec7273869e24acad698d2d5c5081c5..30ad4d0482f63b33cb189d3acf43f307932ba0c0 100644 (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
 };