-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The following does not work as intended:
Example Program
U0 Main()
{
U8 s[][8] = {"hello", "world"};
"%s\n", s[0]; // will not print hello but do something weird
}
The assembly is very different from what gcc or clang would produce when doing:
#include <stdio.h>
int main(void) {
char s[][8] = {"hello", "world"};
printf("%s\n", s[0]); // will print hello
}
Expected behavior
This should print hello
Compiler version
v0.0.8
Commit Hash
ae4fcf9
Desktop (please complete the following information):
- all
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working