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 | e4e3e6a5bf553841c9108b631a4170a3dac0d411 (patch) | |
| tree | fffe7ee6f96947ddfeb7bff8d7f5b810c27103e4 /clang/test/Sema/cast-incomplete.c | |
| parent | 5d3fbd373345ab902c3e0c47402f7b934e5bdbbc (diff) | |
| download | bcm5719-llvm-e4e3e6a5bf553841c9108b631a4170a3dac0d411.tar.gz bcm5719-llvm-e4e3e6a5bf553841c9108b631a4170a3dac0d411.zip | |
[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.
llvm-svn: 249667
Diffstat (limited to 'clang/test/Sema/cast-incomplete.c')
| -rw-r--r-- | clang/test/Sema/cast-incomplete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/cast-incomplete.c b/clang/test/Sema/cast-incomplete.c index ce20dfbf8bb..dd10e00d444 100644 --- a/clang/test/Sema/cast-incomplete.c +++ b/clang/test/Sema/cast-incomplete.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple %itanium_abi_triple -fsyntax-only %s -verify +// RUN: %clang_cc1 -fsyntax-only %s -verify // PR5692 enum x; // expected-note {{forward declaration}} |

