From 178dea3e8590b49144a7ab52549843da6cad88f7 Mon Sep 17 00:00:00 2001 From: drl7x Date: Thu, 1 Mar 2001 23:56:53 +0000 Subject: [PATCH] Added files to the repository. --- test/sizeoftest/sizeof.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/sizeoftest/sizeof.c diff --git a/test/sizeoftest/sizeof.c b/test/sizeoftest/sizeof.c new file mode 100644 index 0000000..8e38d41 --- /dev/null +++ b/test/sizeoftest/sizeof.c @@ -0,0 +1,9 @@ +int main() +{ +char x[3]; +char y[3]; + + x[(sizeof x)] = 'i'; +y[((sizeof y) - 1)] = '0'; +return 0; +} -- 2.45.1