Skip to content

Internal error: passing struct to built-in function not properly caught #32

Open
@derrell

Description

@derrell
#include <stdio.h>
#include <math.h>
#include <draw.h>

typedef struct color{int r; int g; int b;}color;

void drawCircle(int x, int y, int rad, color c);

int main(int argc, char * argv[])
{
    color c;

    c.r = 160;
    c.g = 0;
    c.b = 0;
    drawCircle(50, 50, 200, c);
    return 0;
}

void drawCircle(int x, int y, int rad, color c)
{
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions