mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Reorganize tests
This commit is contained in:
10
examples/c/typedef.c
Normal file
10
examples/c/typedef.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user