Update test

This commit is contained in:
Jeehoon Kang
2020-03-17 22:30:16 +09:00
parent fddd07a769
commit 1b7d25314d
32 changed files with 171 additions and 130 deletions

26
examples/hw1/temp2.c Normal file
View File

@@ -0,0 +1,26 @@
int f(int i, int const a[const i]) {
int temp = 0;
const float temp2 = 0.f, temp3 = 0.f;
temp = sizeof(unsigned char);
temp = _Alignof(unsigned char);
struct color { int number; char name; } c;
c.name;
struct color *cp = &c;
cp->name;
for(int i = 0, j = 0; i < 10; ++i) {
break;
}
switch(temp) {
case 1: {
break;
}
default: {
break;
}
}
return temp;
}