Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
derrell opened this issue Oct 13, 2014 · 0 comments
Open
Labels

Comments

@derrell
Copy link
Owner

derrell commented Oct 13, 2014

#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)
{
}
@derrell derrell added the bug label Oct 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant