Enhance chibicc
This commit is contained in:
2
third_party/chibicc/test/alloca_test.c
vendored
2
third_party/chibicc/test/alloca_test.c
vendored
@@ -11,7 +11,7 @@ int main() {
|
||||
char *p2 = alloca(16);
|
||||
char *p3 = 1 + (char *)alloca(3) + 1;
|
||||
p3 -= 2;
|
||||
char *p4 = fn(1, alloca(16), 3);
|
||||
char *p4 = fn(1, __builtin_alloca(16), 3);
|
||||
|
||||
ASSERT(16, p1 - p2);
|
||||
ASSERT(16, p2 - p3);
|
||||
|
||||
Reference in New Issue
Block a user