mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-06 09:09:34 -08:00
expression (de-)serialization for VLAs, variable initializers, enum constant initializers, and bitfield widths. llvm-svn: 69075
30 lines
319 B
C
30 lines
319 B
C
// Used with the struct.c test
|
|
|
|
struct Point {
|
|
float x, y, z;
|
|
};
|
|
|
|
struct Point2 {
|
|
float xValue, yValue, zValue;
|
|
};
|
|
|
|
struct Fun;
|
|
|
|
struct Fun *fun;
|
|
|
|
struct Fun {
|
|
int is_ptr : 1;
|
|
|
|
union {
|
|
void *ptr;
|
|
int *integer;
|
|
};
|
|
};
|
|
|
|
struct Fun2;
|
|
struct Fun2 *fun2;
|
|
|
|
struct S {
|
|
struct Nested { int x, y; } nest;
|
|
};
|