diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-09-01 22:08:17 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-09-01 22:08:17 +0000 |
commit | 6d4abe1eee550411524ca002025fdf0490eefd26 (patch) | |
tree | 4444ba04c2f99bb17b664c6a9ea35569912d8632 /test/Sema/array-init.c | |
parent | 758d6ef29dc87656d39db73bce1f0b5b2d91ebd6 (diff) |
Backing out r55607 due to logic errors and test regression.
I'll try to come up with a correct fix for the testcase sometime soon.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-init.c')
-rw-r--r-- | test/Sema/array-init.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/Sema/array-init.c b/test/Sema/array-init.c index bf3d83d265..6494b9593e 100644 --- a/test/Sema/array-init.c +++ b/test/Sema/array-init.c @@ -222,19 +222,5 @@ struct {int:5;} x[] = {6}; //expected-error{{initializer for aggregate with no e struct {int a; int:5;} noNamedImplicit[] = {1,2,3}; int noNamedImplicitCheck[sizeof(noNamedImplicit) == 3 * sizeof(*noNamedImplicit) ? 1 : -1]; - -// ptrs are constant -struct soft_segment_descriptor { - int ssd_base; -}; -static int dblfault_tss; - -union uniao { int ola; } xpto[1]; - -struct soft_segment_descriptor gdt_segs[] = { - {(int) &dblfault_tss}, - { (int)xpto}, -}; - static void sppp_ipv6cp_up(); const struct {} ipcp = { sppp_ipv6cp_up }; //expected-warning{{empty struct extension}} expected-warning{{excess elements in array initializer}} |