diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-10-08 06:31:22 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-10-08 06:31:22 +0000 |
commit | c10b8381f761ad7ff9a8c34b687b9320e07f9726 (patch) | |
tree | f66049f87c7e1797eb3f6f0ca383c6bd58b1dee1 /clang/test/Sema/enum.c | |
parent | da5168b7ce40521abe005f7af7918ea3fd23a615 (diff) | |
download | bcm5719-llvm-c10b8381f761ad7ff9a8c34b687b9320e07f9726.tar.gz bcm5719-llvm-c10b8381f761ad7ff9a8c34b687b9320e07f9726.zip |
Update tests touched by r249656
These test updates almost exclusively around the change in behavior
around enum: enums without a definition are considered incomplete except
when targeting MSVC ABIs. Since these tests are interested in the
'incomplete-enum' behavior, restrict them to %itanium_abi_triple.
llvm-svn: 249660
Diffstat (limited to 'clang/test/Sema/enum.c')
-rw-r--r-- | clang/test/Sema/enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/enum.c b/clang/test/Sema/enum.c index 13b88c948c8..3546bfe48fc 100644 --- a/clang/test/Sema/enum.c +++ b/clang/test/Sema/enum.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic +// RUN: %clang_cc1 -triple %itanium_abi_triple %s -fsyntax-only -verify -pedantic enum e {A, B = 42LL << 32, // expected-warning {{ISO C restricts enumerator values to range of 'int'}} C = -4, D = 12456 }; |