Issue homework 2: irgen

This commit is contained in:
Jeehoon Kang
2020-04-01 10:54:46 +09:00
parent 2a5a5e71ed
commit 93a1d767a5
18 changed files with 1009 additions and 588 deletions

10
examples/typedef.c Normal file
View File

@@ -0,0 +1,10 @@
typedef int i32_t;
typedef i32_t* p_i32_t;
int main() {
i32_t a = 0;
p_i32_t const b = &a;
*b = 1;
return *b;
}