diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-08 07:45:35 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-08 07:45:35 +0000 |
commit | 1d63a6b8d6599722c2fc7747d72094a3eacb49ab (patch) | |
tree | 86eb5247f7cd57903a24758c04db35f528e8e558 /test/CodeGen/volatile-1.c | |
parent | 7006f5216c2f83d99b5df41201f0e809f562aec2 (diff) |
[Sema] Tweak incomplete enum types on MSVC ABI targets
Enums without an explicit, fixed, underlying type are implicitly given a
fixed 'int' type for ABI compatibility with MSVC. However, we can
enforce the standard-mandated rules on these types as-if we didn't know
this fact if the tag is not part of a definition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/volatile-1.c')
-rw-r--r-- | test/CodeGen/volatile-1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/volatile-1.c b/test/CodeGen/volatile-1.c index 6912da3d93..f63274b37f 100644 --- a/test/CodeGen/volatile-1.c +++ b/test/CodeGen/volatile-1.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple %itanium_abi_triple -Wno-return-type -Wno-unused-value -emit-llvm %s -o - | FileCheck %s +// RUN: %clang_cc1 -Wno-return-type -Wno-unused-value -emit-llvm %s -o - | FileCheck %s // CHECK: @i = common global [[INT:i[0-9]+]] 0 volatile int i, j, k; |