From: Douglas Gregor Date: Tue, 22 Feb 2011 21:42:31 +0000 (+0000) Subject: We need a longer long when testing this pathe Microsoft fixed-underlying-type extensi... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1756ce44b0e03d6a6fd2d42add6e3227d4d04d34;p=clang We need a longer long when testing this pathe Microsoft fixed-underlying-type extension for enumeration types git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126250 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/MicrosoftExtensions.c b/test/Sema/MicrosoftExtensions.c index 59bf54eb62..cb9fee9dc1 100644 --- a/test/Sema/MicrosoftExtensions.c +++ b/test/Sema/MicrosoftExtensions.c @@ -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 }; diff --git a/test/SemaCXX/MicrosoftExtensions.cpp b/test/SemaCXX/MicrosoftExtensions.cpp index 3592e2760a..30ad4d0482 100644 --- a/test/SemaCXX/MicrosoftExtensions.cpp +++ b/test/SemaCXX/MicrosoftExtensions.cpp @@ -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 };