summaryrefslogtreecommitdiff
path: root/tests/analysis/disass/irreducible.c
blob: 8edd592b735584f45919b21c71ed1016d8bb2df1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

static void argstr(char *p, int flags)
{
    if (flags)
    {
 tilde:
        p++;
    }

    for (;;)
    {
        switch (*p)
        {
            case '\0':
                goto breakloop;

            case ':':
                if (*--p == '~')
                    goto tilde;
                continue;
        }

    }

 breakloop:

    ;

}

int main(int argc, char **argv)
{
    argstr(argv[0], 0);

    return 0;

}