test: Fix build on MSVC
authorAndrea Canciani <ranma42@gmail.com>
Tue, 17 Jul 2012 14:14:20 +0000 (16:14 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Tue, 25 Jun 2013 14:55:24 +0000 (16:55 +0200)
commit1e4932933342140402f744631f2a87b867162806
tree1eb241ec637dd207ad99154966f9c06053c2d4de
parent279bdcda7ec3af8ac06312f4514b1b082a279544
test: Fix build on MSVC

The MSVC compiler is very strict about variable declarations after
statements.

Move all the declarations of each block before any statement in the
same block to fix multiple instances of:

alpha-loop.c(XX) : error C2275: 'pixman_image_t' : illegal use of this
type as an expression
test/alpha-loop.c