Skip to content

00217.c pointer on function #371

Description

@IngeniariusSoftware

remove the test from the line if it fixed in the testcuite:
00078, 00217: TODO pointer on function

the test:
https://github.com/c-testsuite/c-testsuite/blob/master/tests/single-exec/00217.c

int printf(const char *, ...);
char t[] = "012345678";

int main(void)
{
    char *data = t;
    unsigned long long r = 4;
    unsigned a = 5;
    unsigned long long b = 12;

    *(unsigned*)(data + r) += a - b;

    printf("data = \"%s\"\n", data);
    return 0;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions