Integrate more chibicc changes
This commit is contained in:
9
third_party/chibicc/test/initializer_test.c
vendored
9
third_party/chibicc/test/initializer_test.c
vendored
@@ -445,6 +445,15 @@ int main() {
|
||||
};
|
||||
x.a;
|
||||
}));
|
||||
ASSERT(1, ({
|
||||
union {
|
||||
int a;
|
||||
char b;
|
||||
} x = {
|
||||
1,
|
||||
};
|
||||
x.a;
|
||||
}));
|
||||
ASSERT(2, ({
|
||||
enum {
|
||||
x,
|
||||
|
||||
Reference in New Issue
Block a user