From 996a735b880ed46e50ebdb32f9cede79fca9727e 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 llvm-svn: 126250 --- clang/test/Sema/MicrosoftExtensions.c | 2 +- clang/test/SemaCXX/MicrosoftExtensions.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Sema/MicrosoftExtensions.c b/clang/test/Sema/MicrosoftExtensions.c index 59bf54eb62fe..cb9fee9dc1d4 100644 --- a/clang/test/Sema/MicrosoftExtensions.c +++ b/clang/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/clang/test/SemaCXX/MicrosoftExtensions.cpp b/clang/test/SemaCXX/MicrosoftExtensions.cpp index 3592e2760aec..30ad4d0482f6 100644 --- a/clang/test/SemaCXX/MicrosoftExtensions.cpp +++ b/clang/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 };