summaryrefslogtreecommitdiff
path: root/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
commit8ec91972332f5163bcdfce4198609833632243ad (patch)
treee70c9846c3194ce50ed4d6d758755d84c2a0f0f4 /test/Sema
parent1d63a6b8d6599722c2fc7747d72094a3eacb49ab (diff)
downloadclang-8ec91972332f5163bcdfce4198609833632243ad.tar.gz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema')
-rw-r--r--test/Sema/fn-ptr-as-fn-prototype.c2
-rw-r--r--test/Sema/function-redecl.c2
-rw-r--r--test/Sema/inline.c2
-rw-r--r--test/Sema/short-enums.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/Sema/fn-ptr-as-fn-prototype.c b/test/Sema/fn-ptr-as-fn-prototype.c
index 4b01b1316e..0422f2b86e 100644
--- a/test/Sema/fn-ptr-as-fn-prototype.c
+++ b/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/test/Sema/function-redecl.c b/test/Sema/function-redecl.c
index 561f7fae6b..eb6e78595a 100644
--- a/test/Sema/function-redecl.c
+++ b/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/test/Sema/inline.c b/test/Sema/inline.c
index 8a3835b71a..eced058f8d 100644
--- a/test/Sema/inline.c
+++ b/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/test/Sema/short-enums.c b/test/Sema/short-enums.c
index 9bf0064646..464b09ee10 100644
--- a/test/Sema/short-enums.c
+++ b/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 };