From 93cd98dd143d45a31a7fd90ad8f0b3d3c4c7798f Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Fri, 3 Apr 2020 00:10:45 -0700 Subject: move tinyc to a separate repo and allow installing external dependencency (eg tinyc) from koch / library code (#13850) * remove tinyc * installDeps * update tinyc paths --- tinyc/tests/tests2/10_pointer.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 tinyc/tests/tests2/10_pointer.c (limited to 'tinyc/tests/tests2/10_pointer.c') diff --git a/tinyc/tests/tests2/10_pointer.c b/tinyc/tests/tests2/10_pointer.c deleted file mode 100644 index 0177f4d81..000000000 --- a/tinyc/tests/tests2/10_pointer.c +++ /dev/null @@ -1,40 +0,0 @@ -#include - -struct ziggy -{ - int a; - int b; - int c; -} bolshevic; - -int main() -{ - int a; - int *b; - int c; - - a = 42; - b = &a; - printf("a = %d\n", *b); - - bolshevic.a = 12; - bolshevic.b = 34; - bolshevic.c = 56; - - printf("bolshevic.a = %d\n", bolshevic.a); - printf("bolshevic.b = %d\n", bolshevic.b); - printf("bolshevic.c = %d\n", bolshevic.c); - - struct ziggy *tsar = &bolshevic; - - printf("tsar->a = %d\n", tsar->a); - printf("tsar->b = %d\n", tsar->b); - printf("tsar->c = %d\n", tsar->c); - - b = &(bolshevic.b); - printf("bolshevic.b = %d\n", *b); - - return 0; -} - -// vim: set expandtab ts=4 sw=3 sts=3 tw=80 : -- cgit 1.4.1-2-gfad0