summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-10-08 08:28:09 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-10-08 08:28:09 +0000
commit475f9eabc27a4ee3c0debfe48511f62b7a4bf418 (patch)
tree6042bac3437603604c186e29cab7ecfc16fdd11a /clang/test/Sema
parent04e79329d0904400398f87b1b52734e271588ed6 (diff)
downloadbcm5719-llvm-475f9eabc27a4ee3c0debfe48511f62b7a4bf418.tar.gz
bcm5719-llvm-475f9eabc27a4ee3c0debfe48511f62b7a4bf418.zip
Update a few more tests in response to the MS ABI enum semantics
Our self hosting buildbots found a few more tests which weren't updated to reflect that the enum semantics are part of the Microsoft ABI. llvm-svn: 249670
Diffstat (limited to 'clang/test/Sema')
-rw-r--r--clang/test/Sema/fn-ptr-as-fn-prototype.c2
-rw-r--r--clang/test/Sema/function-redecl.c2
-rw-r--r--clang/test/Sema/inline.c2
-rw-r--r--clang/test/Sema/short-enums.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Sema/fn-ptr-as-fn-prototype.c b/clang/test/Sema/fn-ptr-as-fn-prototype.c
index 4b01b1316e1..0422f2b86ea 100644
--- a/clang/test/Sema/fn-ptr-as-fn-prototype.c
+++ b/clang/test/Sema/fn-ptr-as-fn-prototype.c
@@ -7,7 +7,7 @@
// CHECK: typedef void (*g)();
typedef void (*g) ();
-// CHECK: enum {
+// CHECK: enum
enum {
k = -1
};
diff --git a/clang/test/Sema/function-redecl.c b/clang/test/Sema/function-redecl.c
index 561f7fae6b9..eb6e78595ae 100644
--- a/clang/test/Sema/function-redecl.c
+++ b/clang/test/Sema/function-redecl.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify %s
// PR3588
void g0(int, int);
diff --git a/clang/test/Sema/inline.c b/clang/test/Sema/inline.c
index 8a3835b71ad..eced058f8dd 100644
--- a/clang/test/Sema/inline.c
+++ b/clang/test/Sema/inline.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only -verify %s
#if defined(INCLUDE)
// -------
diff --git a/clang/test/Sema/short-enums.c b/clang/test/Sema/short-enums.c
index 9bf0064646a..464b09ee105 100644
--- a/clang/test/Sema/short-enums.c
+++ b/clang/test/Sema/short-enums.c
@@ -1,5 +1,5 @@
// RUN: not %clang_cc1 -fsyntax-only %s -verify
-// RUN: %clang_cc1 -fshort-enums -fsyntax-only %s -verify
+// RUN: %clang_cc1 -triple %itanium_abi_triple -fshort-enums -fsyntax-only %s -verify
// expected-no-diagnostics
enum x { A };
OpenPOWER on IntegriCloud