aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-02-22 21:42:31 +0000
committerDouglas Gregor <dgregor@apple.com>2011-02-22 21:42:31 +0000
commit1756ce44b0e03d6a6fd2d42add6e3227d4d04d34 (patch)
tree8929971b25d7130953fcf8c656574d4acda4d416
parent3ee36af5bbb8c2cd203a140c3785215539cd56b4 (diff)
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
-rw-r--r--test/Sema/MicrosoftExtensions.c2
-rw-r--r--test/SemaCXX/MicrosoftExtensions.cpp2
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
};