Skip to content

Can't work out that 0 || "string" is a constant. #58

@landley

Description

@landley

$ cat test.c
int abc = 0 || "hello";
$ cparser test.c
test.c:1:13: error: initialisation expression '0 || "hello"' is not constant
1 error(s), 0 warning(s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions