Skip to content
Snippets Groups Projects
Commit 0a50236e authored by arw's avatar arw
Browse files

trivial testdata

parents
No related branches found
Tags v0.0
Loading
CFLAGS=-gdwarf-2
#include <stdint.h>
struct test_1 {
int a;
};
struct test_2 {
int a;
int b;
};
struct test_3 {
int a;
double b;
uint8_t c;
int8_t d;
};
struct test_4 {
int a[3];
double b[1];
char c[15];
int d;
};
struct test_5 {
int *a;
double *b;
void *c;
int d;
};
struct test_6 {
int a;
double b;
char c[0];
};
struct test_7 {
int a;
int b;
int c;
int d;
};
struct test_8 {
int a;
struct test_7 *b;
int c;
};
int main(int argc, char **argv) {
struct test_1 t1;
struct test_2 t2;
struct test_3 t3;
struct test_4 t4;
struct test_5 t5;
struct test_6 t6;
struct test_7 t7;
struct test_8 t8;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment