prevent disabler() object from overwriting arrays (#7484)
* prevent disabler object from overwriting arrays fixes #7107 * fix failing test forgot that func() != func(void) in cpull/7517/head
parent
7092efabb5
commit
adfee4460a
3 changed files with 12 additions and 4 deletions
@ -0,0 +1,9 @@ |
||||
project('disabler_inside_array', 'c') |
||||
|
||||
exes = [] |
||||
|
||||
exes += library('a', 'test.c') |
||||
|
||||
exes += library('b', 'test.c', dependencies : disabler()) |
||||
|
||||
exes += library('c', 'test.c') |
@ -0,0 +1 @@ |
||||
int stub(void) { return 0; } |
Loading…
Reference in new issue