From 1756ce44b0e03d6a6fd2d42add6e3227d4d04d34 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Tue, 22 Feb 2011 21:42:31 +0000 Subject: [PATCH] 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 --- test/Sema/MicrosoftExtensions.c | 2 +- test/SemaCXX/MicrosoftExtensions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }; -- 2.40.0