Skip to content

Conversation

@JulianKemmerer
Copy link
Owner

Final testing ...

…new version of function is rendered for each combination of constant args, in prep for supporting the same constants provided as template args
@JulianKemmerer JulianKemmerer self-assigned this Nov 6, 2023
@JulianKemmerer
Copy link
Owner Author

Broken still ✊

#include "uintN_t.h"
#pragma MAIN main
uint16_t foo(uint16_t x, uint8_t y)
{
  return x + y;
}
uint16_t bar(uint16_t x, uint8_t y)
{
  return x - y;
}

uint16_t main(uint16_t x, uint8_t y)
{
  return foo(bar(x,y), 1);
}

and different for foo(foo(x,y), 1);

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants