Refix dlclose_leak.c test.

By introducing an extra line to declare int i; we broke the expected
line numbers in the test. Just declare i on the same line as the for loop.
This commit is contained in:
Mark Wielaard 2018-01-16 11:23:42 +01:00
parent 400ad0e36e
commit 190c93d454

View File

@ -11,8 +11,7 @@ char* (*alloc_1_byte)(void);
int main(int argc, char** argv)
{
int i;
for (i = 0; i < 2; ++i)
int i; for (i = 0; i < 2; ++i)
{
char* memToLeak;
char x __attribute__((unused));