diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2008-09-01 18:42:41 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2008-09-01 18:42:41 +0000 |
commit | 73419bf6cbf8e5f7a0f9b8855d6531db264ae899 (patch) | |
tree | 31d44adec5174d5d680f0eeddd981ae210c8898c /test/Sema/array-init.c | |
parent | f7e37ce8400d5ba3b0613116034aaa30e6a70b3e (diff) |
fix one more this-is-not-a-constant error. test included
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/array-init.c')
-rw-r--r-- | test/Sema/array-init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Sema/array-init.c b/test/Sema/array-init.c index 7d6e6c6d28..bf3d83d265 100644 --- a/test/Sema/array-init.c +++ b/test/Sema/array-init.c @@ -235,3 +235,6 @@ 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}} |