Enhance chibicc
This commit is contained in:
8
third_party/chibicc/test/assert_test.c
vendored
Normal file
8
third_party/chibicc/test/assert_test.c
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "third_party/chibicc/test/test.h"
|
||||
|
||||
_Static_assert(1);
|
||||
_Static_assert(1, "hey");
|
||||
|
||||
main() {
|
||||
_Static_assert(sizeof(int) == 4, "wut");
|
||||
}
|
||||
Reference in New Issue
Block a user