diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-13 19:51:00 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-13 19:51:04 +0200 |
| commit | 84262d9f69aa6730c69f464b5b4fb7f6030bf329 (patch) | |
| tree | 44a506c7c10923e32ab2063594ec4049b988e97a /test | |
| parent | add .git-blame-ignore-revs (diff) | |
| download | cimple-84262d9f69aa6730c69f464b5b4fb7f6030bf329.tar.gz cimple-84262d9f69aa6730c69f464b5b4fb7f6030bf329.zip | |
switch from tabs to spaces
It was fun while it lasted, but I do believe that spaces are strictly
superior, and clang-format struggles with tabs while using advanced
configuration options.
Diffstat (limited to 'test')
| -rw-r--r-- | test/sigsegv/lib.h | 2 | ||||
| -rw-r--r-- | test/sigsegv/main.c | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/sigsegv/lib.h b/test/sigsegv/lib.h index 15f2246..097f5b9 100644 --- a/test/sigsegv/lib.h +++ b/test/sigsegv/lib.h @@ -2,7 +2,7 @@ #define __LIB_H__ struct data { - int x; + int x; }; extern struct data* data; diff --git a/test/sigsegv/main.c b/test/sigsegv/main.c index 4336073..f999d91 100644 --- a/test/sigsegv/main.c +++ b/test/sigsegv/main.c @@ -3,13 +3,13 @@ #include <stdio.h> int main(void) { - puts("Started the test program."); - fflush(stdout); + puts("Started the test program."); + fflush(stdout); - printf("This will crash: %d.\n", data->x); + printf("This will crash: %d.\n", data->x); - puts("You shouldn't see this."); - fflush(stdout); + puts("You shouldn't see this."); + fflush(stdout); - return 0; + return 0; } |
