summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-07-26 01:48:59 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-07-26 01:48:59 +0000
commit29c69db7600f779e60da0e79b7de7bef6ced9131 (patch)
tree599a1573c7257334fd21b5d30c0eec5fba974258 /clang/test
parent06d7bd2e428dfd00f422d439faedcadb517266b6 (diff)
downloadbcm5719-llvm-29c69db7600f779e60da0e79b7de7bef6ced9131.tar.gz
bcm5719-llvm-29c69db7600f779e60da0e79b7de7bef6ced9131.zip
[Sema] The alignment of an object has an upper bound from the object file format
Don't use the spelling of the alignment attribute to determine whether or not an alignment amount makes sense. llvm-svn: 243233
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Sema/MicrosoftCompatibility.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/MicrosoftCompatibility.c b/clang/test/Sema/MicrosoftCompatibility.c
index 010033bba00..697d3f21663 100644
--- a/clang/test/Sema/MicrosoftCompatibility.c
+++ b/clang/test/Sema/MicrosoftCompatibility.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-compatibility
+// RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-compatibility -triple i686-pc-win32
enum ENUM1; // expected-warning {{forward references to 'enum' types are a Microsoft extension}}
enum ENUM1 var1 = 3;
OpenPOWER on IntegriCloud