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 | 4c55e2c4ed0f9beba12dc862fd6a7f3171e36d29 (patch) | |
tree | 376dd8e4ab644179f75018f41fa4ff2ac4394308 /clang/test/Sema/array-init.c | |
parent | 8af7e8b65024927909eb6f1936f43530f0c0bb3f (diff) | |
download | bcm5719-llvm-4c55e2c4ed0f9beba12dc862fd6a7f3171e36d29.tar.gz bcm5719-llvm-4c55e2c4ed0f9beba12dc862fd6a7f3171e36d29.zip |
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.
llvm-svn: 55614
Diffstat (limited to 'clang/test/Sema/array-init.c')
-rw-r--r-- | clang/test/Sema/array-init.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/clang/test/Sema/array-init.c b/clang/test/Sema/array-init.c index bf3d83d2654..6494b9593e9 100644 --- a/clang/test/Sema/array-init.c +++ b/clang/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}} |